fix memory leak of commitinfo->parent
1 files changed, 1 insertions(+), 0 deletions(-) | |||
---|---|---|---|
M | stagit.c | +1 | -0 |
1@@ -177,6 +177,7 @@ commitinfo_free(struct commitinfo *ci)
2 git_tree_free(ci->commit_tree);
3 git_tree_free(ci->parent_tree);
4 git_commit_free(ci->commit);
5+ git_commit_free(ci->parent);
6 }
7
8 struct commitinfo *