projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db7fb9b
)
Free git objects
author
Eivind Uggedal
<eivind@uggedal.com>
Wed, 9 Dec 2015 12:31:20 +0000
(12:31 +0000)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Wed, 9 Dec 2015 19:48:56 +0000
(20:48 +0100)
urmoms.c
patch
|
blob
|
history
diff --git
a/urmoms.c
b/urmoms.c
index 3eb8471f028a0e35298d94195b0c192ffec7c401..5246cd2f858e7edfe2a74f6e35997718dbbf2ecb 100644
(file)
--- 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);