git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFD PATCH 0/3] Free all the memory!
@ 2016-05-17  3:22 Stefan Beller
  2016-05-17  3:22 ` [PATCH 1/3] mv: free memory at the end if desired Stefan Beller
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Stefan Beller @ 2016-05-17  3:22 UTC (permalink / raw)
  To: jrnieder; +Cc: git, Stefan Beller

When using automated tools to find memory leaks, it is hard to distinguish
between actual leaks and intentional non-cleanups at the end of the program,
such that the actual leaks hide in the noise.

The end goal of this (unfinished) series is to close all intentional memory
leaks when enabling the -DFREE_ALL_MEMORY switch. This is just
demonstrating how the beginning of such a series could look like.

Thanks,
Stefan


Stefan Beller (3):
  mv: free memory at the end if desired
  pack-redundant: free all memory
  rev-parse: free all memory

 Makefile                 |  7 ++++++-
 builtin/mv.c             |  7 +++++++
 builtin/pack-redundant.c | 17 +++++++++++++++++
 builtin/rev-parse.c      | 12 +++++++++++-
 4 files changed, 41 insertions(+), 2 deletions(-)

-- 
2.8.2.401.g9c0faef

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

end of thread, other threads:[~2016-05-18 15:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17  3:22 [RFD PATCH 0/3] Free all the memory! Stefan Beller
2016-05-17  3:22 ` [PATCH 1/3] mv: free memory at the end if desired Stefan Beller
2016-05-17  4:14   ` Torsten Bögershausen
2016-05-17  3:22 ` [PATCH 2/3] pack-redundant: free all memory Stefan Beller
2016-05-17  3:42   ` Eric Sunshine
2016-05-17  3:22 ` [PATCH 3/3] rev-parse: " Stefan Beller
2016-05-17  3:41 ` [RFD PATCH 0/3] Free all the memory! Eric Sunshine
2016-05-17 12:08   ` Eric Wong
2016-05-17 17:58   ` Stefan Beller
2016-05-17 18:16     ` Junio C Hamano
2016-05-17 18:20       ` Stefan Beller
2016-05-18  7:23     ` Eric Wong
2016-05-18 15:19     ` Ævar Arnfjörð Bjarmason
2016-05-17  5:46 ` David Turner
2016-05-17  9:05 ` Matthieu Moy

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 NNTP newsgroup(s).