Skip to content

Commit ff9dccf

Browse files
committed
Merge branch 'js/fuzz-commit-graph-leakfix'
Leakfix. * js/fuzz-commit-graph-leakfix: fuzz-commit-graph: properly free graph struct
2 parents 64efa11 + 104de88 commit ff9dccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fuzz-commit-graph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
1212
initialize_the_repository();
1313
g = parse_commit_graph((void *)data, size);
1414
repo_clear(the_repository);
15-
free(g);
15+
free_commit_graph(g);
1616

1717
return 0;
1818
}

0 commit comments

Comments
 (0)