summaryrefslogtreecommitdiff
path: root/builtin/push.c
diff options
context:
space:
mode:
authorLibravatar Alban Gruin <alban.gruin@gmail.com>2019-11-29 00:02:03 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-30 09:40:35 -0800
commitf6b9413bafbe22202007f9c891082c1df82fce52 (patch)
treeb7629ce047c8f6f1020b5983f18051253ea49867 /builtin/push.c
parentGit 2.23 (diff)
downloadtgif-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 'builtin/push.c')
0 files changed, 0 insertions, 0 deletions