fuzz-commit-graph: properly free graph struct
commit104de88675a16729ec317b87df045919e611d218
authorJosh Steadmon <steadmon@google.com>
Fri, 5 Jun 2020 22:55:14 +0000 (5 15:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Jun 2020 17:02:29 +0000 (8 10:02 -0700)
tree4e8915b1e3ec000d2a57a2562bc7aa2d4f3d0f16
parentc8828530b7797f5ab584c84dc2b86d3c14b39c8d
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>
fuzz-commit-graph.c