diff options
author | Martin Ågren <martin.agren@gmail.com> | 2017-09-23 01:34:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-24 10:05:51 +0900 |
commit | cb7b29eb67772d08e2365ed07ede9d954d0344c1 (patch) | |
tree | f5eb5e520818e9290bc73e8684c55680886b8aa8 /bundle.c | |
parent | builtin/commit: fix memory leak in `prepare_index()` (diff) | |
download | tgif-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