commit 854bb3b66167ccd7e150a18557824f8992bbe25e parent 72286f3ff1246f0ab5eb4c310e475a174fed4c6c Author: Miquel Ortega <miquel.ortega9@gmail.com> Date: Tue, 22 Sep 2020 15:55:18 +0100 Fix wrong memory deallocation Diffstat:
M | stagit.c | | | 1 | - |
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/stagit.c b/stagit.c @@ -1098,7 +1098,6 @@ writefilestree(FILE *fp, git_tree *tree, const char *path) entrypath); writefooter(fp_subtree); relpath = oldrelpath; - git_object_free(obj); lc = -1; if (ret) return ret;