git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] diff_free(): free a bit more, fix leaks
@ 2022-02-16 10:56 Ævar Arnfjörð Bjarmason
  2022-02-16 10:56 ` [PATCH 1/2] diff.[ch]: have diff_free() call clear_pathspec(opts.pathspec) Ævar Arnfjörð Bjarmason
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2022-02-16 10:56 UTC (permalink / raw)
  To: git
  Cc: Junio C Hamano, Martin Ågren,
	Nguyễn Thái Ngọc Duy,
	Ævar Arnfjörð Bjarmason

A short and simple two-part series to fix some leaks in after
diff_flush() and friends are called by making in diff_free() more
useful.

This series along with other small leak fixes I have outstanding
on-list now is the last step I have before the big one of submitting a
series to fix the "big one" across the test suite: the common leaks in
the revisions API.

Ævar Arnfjörð Bjarmason (2):
  diff.[ch]: have diff_free() call clear_pathspec(opts.pathspec)
  diff.[ch]: have diff_free() free options->parseopts

 add-interactive.c | 6 +++---
 blame.c           | 3 ---
 builtin/reset.c   | 1 -
 diff.c            | 2 ++
 notes-merge.c     | 2 --
 5 files changed, 5 insertions(+), 9 deletions(-)

-- 
2.35.1.1028.g2d2d4be19de


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-17 10:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 10:56 [PATCH 0/2] diff_free(): free a bit more, fix leaks Ævar Arnfjörð Bjarmason
2022-02-16 10:56 ` [PATCH 1/2] diff.[ch]: have diff_free() call clear_pathspec(opts.pathspec) Ævar Arnfjörð Bjarmason
2022-02-16 16:50   ` Elijah Newren
2022-02-17 10:22     ` Ævar Arnfjörð Bjarmason
2022-02-16 21:48   ` Junio C Hamano
2022-02-16 10:56 ` [PATCH 2/2] diff.[ch]: have diff_free() free options->parseopts Ævar Arnfjörð Bjarmason
2022-02-16 16:51   ` Elijah Newren
2022-02-16 16:52 ` [PATCH 0/2] diff_free(): free a bit more, fix leaks Elijah Newren

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).