diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-03-12 19:50:45 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-03-12 21:22:52 +0100 |
commit | 0f05e4b4f0f7dad20b26d60aa350b90fb47f1eb8 (patch) | |
tree | d60f71e3819e87554eed29895a96e95d96ddc119 | |
parent | 7a515945dd3e335644ba5167f2a44e3fde3fa18b (diff) |
fix memory leak of commitinfo->parent
-rw-r--r-- | stagit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 * |