Skip to content

line-log: plug some memory leaks

SZEDER Gábor git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3line-log: free diff queue when processing non-merge commitsdiff.c diffcore.h line-log.c+9 -05 replies
2/3line-log: free the diff queues' arrays when processing merge commitsline-log.c+2 -41 reply
3/3diff.c: use diff_free_queue()diff.c+2 -83 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] line-log: plug some memory leaks

The first patch plugs the reported big memory leak, the second one plugs a minor leak, and the little cleanup in the third puts the cherry on top.

SZEDER Gábor (3):
line-log: free diff queue when processing non-merge commits
line-log: free the diff queues' arrays when processing merge commits diff.c: use diff_free_queue()

 diff.c     | 17 +++++++++--------
 diffcore.h |  1 +
 line-log.c |  7 +++----
 3 files changed, 13 insertions(+), 12 deletions(-)
Signature · 1 line
2.38.1.564.g99c012faba