summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-14 08:52:58 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-14 10:08:02 -0700
commit77d4b3dd73c44b2c617345a6d9686d2f7f5b8a68 (patch)
treeebb576a3a572e306176112c38971348363d70800 /commit.c
parent36f971f86182a25fa2fa4af680bf79f522a27f60 (diff)
builtin/diff: free symmetric diff members
We populate a `struct symdiff` in case the user has requested a symmetric diff. Part of this is to populate a `skip` bitmap that indicates which commits shall be ignored in the diff. But while this bitmap is dynamically allocated, we never free it. Fix this by introducing and calling a new `symdiff_release()` function that does this for us. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions