diff options
author | Alban Gruin <alban.gruin@gmail.com> | 2019-11-29 00:02:03 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-30 09:40:35 -0800 |
commit | f6b9413bafbe22202007f9c891082c1df82fce52 (patch) | |
tree | b7629ce047c8f6f1020b5983f18051253ea49867 /copy.c | |
parent | Git 2.23 (diff) | |
download | tgif-f6b9413bafbe22202007f9c891082c1df82fce52.tar.xz |
sequencer: fix a memory leak in sequencer_continue()
When continuing an interactive rebase after a merge conflict was solved,
if the resolution could not be committed, sequencer_continue() would
return early without releasing its todo list, resulting in a memory
leak. This plugs this leak by jumping to the end of the function, where
the todo list is deallocated.
Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'copy.c')
0 files changed, 0 insertions, 0 deletions