summaryrefslogtreecommitdiff
path: root/trace2.c
diff options
context:
space:
mode:
authorLibravatar Mike Hommey <mh@glandium.org>2019-08-26 11:01:37 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-26 10:53:25 -0700
commit9784f9732165bf01c039d7fae2f0fba9bd06a015 (patch)
tree8a761a1d0376abbf311ee7c76c6f11a9b71c61f7 /trace2.c
parentGit 2.22.1 (diff)
downloadtgif-9784f9732165bf01c039d7fae2f0fba9bd06a015.tar.xz
commit: free the right buffer in release_commit_memory
The index field in the commit object is used to find the buffer corresponding to that commit in the buffer_slab. Resetting it first means free_commit_buffer is not going to free the right buffer. Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2.c')
0 files changed, 0 insertions, 0 deletions