mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
Merge branch 'js/fuzz-commit-graph-leakfix'
Leakfix. * js/fuzz-commit-graph-leakfix: fuzz-commit-graph: properly free graph struct
This commit is contained in:
commit
ff9dccf615
|
@ -12,7 +12,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
|||
initialize_the_repository();
|
||||
g = parse_commit_graph((void *)data, size);
|
||||
repo_clear(the_repository);
|
||||
free(g);
|
||||
free_commit_graph(g);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue