commit 5fdaca3a10e30b716cec7543f89609a3c219699b parent db7fb9b2aec5ad629d35f7e7cb775bd3a916e38c Author: Eivind Uggedal <[email protected]> Date: Wed Dec 9 12:31:20 +0000 Free git objects Diffstat:
urmoms.c | | | 2 | ++ |
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);