free the tree
authorHiltjo Posthuma <hiltjo@codemadness.org>
Thu, 17 Dec 2015 21:56:32 +0000 (22:56 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Thu, 17 Dec 2015 21:56:32 +0000 (22:56 +0100)
urmoms.c

index 66f3b958a8e19f52880c7617d8a43285d5c45330..41d4a56aeecf1653e200da14c2c5e1aa2ab25442 100644 (file)
--- a/urmoms.c
+++ b/urmoms.c
@@ -52,6 +52,8 @@ commitinfo_free(struct commitinfo *ci)
 
        git_diff_stats_free(ci->stats);
        git_diff_free(ci->diff);
+       git_tree_free(ci->commit_tree);
+       git_tree_free(ci->parent_tree);
        git_commit_free(ci->commit);
 }