Commit 4536477e by yuangli

fix memory leak

parent 2d33fe78
......@@ -3380,6 +3380,8 @@ int git_repository__shallow_roots_write(git_repository *repo, git_array_oid_t ro
git_filebuf_commit(&file);
git_str_dispose(&path);
if (load_grafts(repo) < 0)
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment