projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add documentation for the rest of commands.
[git.git]
/
blob.c
diff --git
a/blob.c
b/blob.c
index
d4af4a3
..
625db43
100644
(file)
--- a/
blob.c
+++ b/
blob.c
@@
-34,6
+34,7
@@
int parse_blob(struct blob *item)
if (!buffer)
return error("Could not read %s",
sha1_to_hex(item->object.sha1));
+ free(buffer);
if (strcmp(type, blob_type))
return error("Object %s not a blob",
sha1_to_hex(item->object.sha1));