summaryrefslogtreecommitdiff
path: root/bundle.c
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2017-09-23 01:34:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-24 10:05:51 +0900
commitcb7b29eb67772d08e2365ed07ede9d954d0344c1 (patch)
treef5eb5e520818e9290bc73e8684c55680886b8aa8 /bundle.c
parentbuiltin/commit: fix memory leak in `prepare_index()` (diff)
downloadtgif-cb7b29eb67772d08e2365ed07ede9d954d0344c1.tar.xz
commit: fix memory leak in `reduce_heads()`
We don't free the temporary scratch space we use with `remove_redundant()`. Free it similar to how we do it in `get_merge_bases_many_0()`. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.c')
0 files changed, 0 insertions, 0 deletions