Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Octopus merge of the following five patches.
[gitweb.git]
/
blob.c
diff --git
a/blob.c
b/blob.c
index d4af4a309433744d2fe819886d66741ab016f62b..625db43971182e14eacc64f6514c16dd45644c86 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));