diff options
author | Josh Steadmon <steadmon@google.com> | 2020-06-05 15:55:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-08 10:02:29 -0700 |
commit | 104de88675a16729ec317b87df045919e611d218 (patch) | |
tree | 4e8915b1e3ec000d2a57a2562bc7aa2d4f3d0f16 /t/t4013/diff.diff-tree_--root_--patch-with-raw_initial | |
parent | commit-graph: close descriptors after mmap (diff) | |
download | tgif-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 't/t4013/diff.diff-tree_--root_--patch-with-raw_initial')
0 files changed, 0 insertions, 0 deletions