summaryrefslogtreecommitdiff
path: root/diff-no-index.c
diff options
context:
space:
mode:
authorLibravatar Josh Steadmon <steadmon@google.com>2020-06-05 15:55:14 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-08 10:02:29 -0700
commit104de88675a16729ec317b87df045919e611d218 (patch)
tree4e8915b1e3ec000d2a57a2562bc7aa2d4f3d0f16 /diff-no-index.c
parentcommit-graph: close descriptors after mmap (diff)
downloadtgif-104de88675a16729ec317b87df045919e611d218.tar.xz
fuzz-commit-graph: properly free graph struct
Use the provided free_commit_graph() to properly free the commit graph in fuzz-commit-graph. Otherwise, the fuzzer itself leaks memory when the struct contains pointers to allocated memory. Signed-off-by: Josh Steadmon <steadmon@google.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions