Message ID | 9d96300b1c8ce3ab88affa571b2e29cd5b52160d.1713445918.git.phillip.wood@dunelm.org.uk (mailing list archive) |
---|---|
State | Accepted |
Commit | 42aae6a49af1be6108c3133af881cb9429aa3d35 |
Headers | show |
Series | rebase -m: fix --signoff with conflicts | expand |
diff --git a/sequencer.c b/sequencer.c index f49a871ac06..e4146b4cdfa 100644 --- a/sequencer.c +++ b/sequencer.c @@ -2823,12 +2823,14 @@ void sequencer_post_commit_cleanup(struct repository *r, int verbose) NULL, REF_NO_DEREF); if (!need_cleanup) - return; + goto out; if (!have_finished_the_last_pick()) - return; + goto out; sequencer_remove_state(&opts); +out: + replay_opts_release(&opts); } static void todo_list_write_total_nr(struct todo_list *todo_list)