Free git objects - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 5fdaca3a10e30b716cec7543f89609a3c219699b | |
parent db7fb9b2aec5ad629d35f7e7cb775bd3a916e38c | |
Author: Eivind Uggedal <[email protected]> | |
Date: Wed, 9 Dec 2015 12:31:20 +0000 | |
Free git objects | |
Diffstat: | |
M urmoms.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/urmoms.c b/urmoms.c | |
@@ -589,6 +589,7 @@ main(int argc, char *argv[]) | |
writeheader(fp); | |
fputs("<pre>\n", fp); | |
writeblobhtml(fp, (git_blob *)obj); | |
+ git_object_free(obj); | |
if (ferror(fp)) | |
err(1, "fwrite"); | |
fputs("</pre>\n", fp); | |
@@ -603,6 +604,7 @@ main(int argc, char *argv[]) | |
writeheader(fp); | |
fputs("<pre>\n", fp); | |
writeblobhtml(fp, (git_blob *)obj); | |
+ git_object_free(obj); | |
if (ferror(fp)) | |
err(1, "fwrite"); | |
fputs("</pre>\n", fp); |