commit-graph: fix memory leak
authorJosh Steadmon <redacted>
Mon, 6 May 2019 21:36:58 +0000 (14:36 -0700)
committerJunio C Hamano <redacted>
Tue, 7 May 2019 04:49:28 +0000 (13:49 +0900)
commit98552f252ad4a86573d75665fc403f5e66056bb2
tree0b9ee24c30740e1f155fd496d3b15be87a414ae9
parent83232e38648b51abbcbdb56c94632b6906cc85a6
commit-graph: fix memory leak

Free the commit graph when verify_commit_graph_lite() reports an error.
Credit to OSS-Fuzz for finding this leak.

Signed-off-by: Josh Steadmon <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit-graph.c
git clone https://git.99rst.org/PROJECT