Free git objects
This commit is contained in:
parent
db7fb9b2ae
commit
5fdaca3a10
1 changed files with 2 additions and 0 deletions
2
urmoms.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue