fix memory leak of commitinfo->parent
This commit is contained in:
parent
7a515945dd
commit
0f05e4b4f0
1 changed files with 1 additions and 0 deletions
1
stagit.c
1
stagit.c
|
@ -177,6 +177,7 @@ commitinfo_free(struct commitinfo *ci)
|
|||
git_tree_free(ci->commit_tree);
|
||||
git_tree_free(ci->parent_tree);
|
||||
git_commit_free(ci->commit);
|
||||
git_commit_free(ci->parent);
|
||||
}
|
||||
|
||||
struct commitinfo *
|
||||
|
|
Loading…
Reference in a new issue