Fixing memory leaks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | read-cache: fix memleakread-cache.c | +2 | 6 replies | |
| 2/15 | read-cache: Improve readabilityread-cache.c | +1 | 3 replies | |
| 3/15 | read-cache: free cache entry in add_to_index in case of early returnread-cache.c | +5 | 3 replies | |
| 4/15 | update-index: fix a memleakbuiltin/ | +1 | 3 replies | |
| 5/15 | builtin/apply.c: fix a memleakbuiltin/ | +1 | 3 replies | |
| 6/15 | merge-blobs.c: Fix a memleakmerge-blobs.c | +3 | 0 replies | |
| 7/15 | merge-recursive: fix memleaksmerge-recursive.c | +3 | 1 reply | |
| 8/15 | http-push: Remove unneeded cleanuphttp-push.c | +0 | 0 replies | |
| 9/15 | http: release the memory of a http pack request as wellhttp.c | +1 | 3 replies | |
| 10/15 | commit.c: fix a memory leakbuiltin/ | +4 | 4 replies | |
| 11/15 | builtin/check-attr: fix a memleakbuiltin/ | +2 | 1 reply | |
| 12/15 | builtin/merge-base: fix memleakbuiltin/ | +1 | 0 replies | |
| 13/15 | builtin/unpack-file: fix a memleakbuiltin/ | +1 | 0 replies | |
| 14/15 | builtin/cat-file: free memleakbuiltin/ | +1 | 0 replies | |
| 15/15 | ls-files: fix a memleakbuiltin/ | +1 | 0 replies |
Reviews trailers per patch
1 of 15 patches has a Reviewed-by or Acked-by.
| Patch | Junio C Hamano | Stefan Beller |
|---|---|---|
| 1/15 | Helped-by Helped-by | |
| 2/15 | ||
| 3/15 | ||
| 4/15 | ||
| 5/15 | ||
| 6/15 | ||
| 7/15 | ||
| 8/15 | ||
| 9/15 | ||
| 10/15 | R-b | |
| 11/15 | ||
| 12/15 | ||
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] Fixing memory leaks
So here comes another bunch of mem leak fixes. While I consider the first 10 patches a pretty safe bet, the last 5 hopefully spark a discussion if we want patches which just clean up before the program ends.
Stefan Beller (15):
read-cache: fix memleak
read-cache: Improve readability
read-cache: free cache entry in add_to_index in case of early return
update-index: fix a memleak
builtin/apply.c: fix a memleak
merge-blobs.c: Fix a memleak
merge-recursive: fix memleaks
http-push: Remove unneeded cleanup
http: release the memory of a http pack request as well commit.c: fix a memory leak
builtin/check-attr: fix a memleak
builtin/merge-base: fix memleak
builtin/unpack-file: fix a memleak
builtin/cat-file: free memleak
ls-files: fix a memleak
builtin/apply.c | 1 + builtin/cat-file.c | 1 + builtin/check-attr.c | 2 ++ builtin/commit.c | 6 ++++-- builtin/ls-files.c | 1 + builtin/merge-base.c | 1 + builtin/unpack-file.c | 1 + builtin/update-index.c | 1 + http-push.c | 1 - http.c | 1 + merge-blobs.c | 4 +++- merge-recursive.c | 3 +++ read-cache.c | 13 ++++++++----- 13 files changed, 27 insertions(+), 9 deletions(-)
Signature · 1 line
2.3.0.81.gc37f363