fix memory leak of commitinfo->parent - stagit-gopher - A git gopher frontend. (mirror)
HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 0f05e4b4f0f7dad20b26d60aa350b90fb47f1eb8
DIR parent 7a515945dd3e335644ba5167f2a44e3fde3fa18b
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Mar 2017 19:50:45 +0100
fix memory leak of commitinfo->parent
Diffstat:
M stagit.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR 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 *