Free all the memory!
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mv: free memory at the end if desiredMakefile builtin/ | +13 | 1 reply | |
| 2/3 | pack-redundant: free all memorybuiltin/ | +17 | 1 reply | |
| 3/3 | rev-parse: free all memorybuiltin/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFD PATCH 0/3] Free all the memory!
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(-)
Signature · 1 line
2.8.2.401.g9c0faef