summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-14 08:52:36 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-14 10:08:00 -0700
commit2f07d228c3a1c623526ddf38e609dc45c98fb22e (patch)
tree5a42e332ecdadb3c43471281e34be2a303ec31a1 /diff.c
parentde54b450a3275e98858bf7e83475ad2465cce073 (diff)
sequencer: release todo list on error paths
We're not releasing the `todo_list` in `sequencer_pick_revisions()` when hitting an error path. Restructure the function to have a common exit path such that we can easily clean up the list and thus plug this memory leak. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions