stagit-responsive

My mobile friendly fork of stagit
Log | Files | Refs | README | LICENSE

commit 0f05e4b4f0f7dad20b26d60aa350b90fb47f1eb8
parent 7a515945dd3e335644ba5167f2a44e3fde3fa18b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 12 Mar 2017 19:50:45 +0100

fix memory leak of commitinfo->parent

Diffstat:
Mstagit.c | 1+

1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/stagit.c b/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 *