Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t5702: use test_commit_bulk
[gitweb.git]
/
commit-graph.c
diff --git
a/commit-graph.c
b/commit-graph.c
index 7bcc9bb7e0f9965a2ab3176c0416943430c6a6aa..7c5e54875fdacdf77235a077c9928f7d3bf0d001 100644
(file)
--- a/
commit-graph.c
+++ b/
commit-graph.c
@@
-267,8
+267,10
@@
struct commit_graph *parse_commit_graph(void *graph_map, int fd,
last_chunk_offset = chunk_offset;
}
- if (verify_commit_graph_lite(graph))
+ if (verify_commit_graph_lite(graph)) {
+ free(graph);
return NULL;
+ }
return graph;
}