summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-11-08 19:17:49 +0100
committerTaylor Blau <me@ttaylorr.com>2022-11-08 15:50:55 -0500
commit37be611d0b6a1e2f33c3a45a332d1214f0eda216 (patch)
treecd6f8188fa4b24eccb9cb24a82df7d2233bbe21a /builtin/commit.c
parent2454e48fe312561a35ccefa24810413501ed8228 (diff)
downloadgit-37be611d0b6a1e2f33c3a45a332d1214f0eda216.tar.gz
cherry-pick: free "struct replay_opts" members
Call the release_revisions() function added in 1878b5edc03 (revision.[ch]: provide and start using a release_revisions(), 2022-04-13) in cmd_cherry_pick(), as well as freeing the xmalloc()'d "revs" member itself. This is the same change as the one made for cmd_revert() a few lines above it in fd74ac95ac3 (revert: free "struct replay_opts" members, 2022-07-01). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions