projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a51594
)
fix memory leak of commitinfo->parent
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sun, 12 Mar 2017 18:50:45 +0000
(19:50 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sun, 12 Mar 2017 20:22:52 +0000
(21:22 +0100)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index a99e18b20977c75b7237302881a572700df34a02..d9832945177342903d3ff2696ab6d4e86a6b03ed 100644
(file)
--- 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 *