commit 72286f3ff1246f0ab5eb4c310e475a174fed4c6c
parent d833220215f924e6b165a949640af450975fb3af
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date:   Thu, 10 Sep 2020 19:38:08 +0200

Fix memory leak

Diffstat:
Mstagit.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -1382,6 +1382,7 @@ main(int argc, char *argv[]) xmlencode(fp, s, strlen(s)); fputs("</pre>\n", fp); } + git_object_free(obj); writefooter(fp); fclose(fp); }