aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2024-04-18 14:14:05 +0100
committerJunio C Hamano <gitster@pobox.com>2024-04-18 13:33:41 -0700
commit42aae6a49af1be6108c3133af881cb9429aa3d35 (patch)
treec93e8499ec47ab5a0c979ad328f4bc6844c1929d /object.c
parentMerge branch 'pw/t3428-cleanup' into pw/rebase-m-signoff-fix (diff)
downloadgit-42aae6a49af1be6108c3133af881cb9429aa3d35.tar.gz
git-42aae6a49af1be6108c3133af881cb9429aa3d35.zip
sequencer: always free "struct replay_opts"
sequencer_post_commit_cleanup() initializes an instance of "struct replay_opts" but does not call replay_opts_release(). Currently this does not leak memory because the code paths called don't allocate any of the struct members. That will change in the next commit so add call to replay_opts_release() to prevent a memory leak in "git commit" that breaks all of the leak free tests. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions