fix memory leak of commitinfo->parent - stagit-gopher - A git gopher frontend. … | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 0f05e4b4f0f7dad20b26d60aa350b90fb47f1eb8 | |
parent 7a515945dd3e335644ba5167f2a44e3fde3fa18b | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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 * |