summaryrefslogtreecommitdiff
path: root/csum-file.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-08-08 22:57:57 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-08-08 22:57:57 -0700
commitc3958a7926ab20b90fe0767580b466698477f5b6 (patch)
tree80bf9ad53c61e817ad7269bb0f8f8e0a8ae8f1d9 /csum-file.c
parentMerge with master. (diff)
parent[PATCH] Add -m <message> option to "git tag" (diff)
downloadtgif-c3958a7926ab20b90fe0767580b466698477f5b6.tar.xz
Merge with master.
This merges commit c882bc932f6702a935c748893536356b0bba11ce from master into our head commit e764a10b17610ed9b3969bdb351e09f9635eb0ab Sincerely, jit-merge command.
Diffstat (limited to 'csum-file.c')
-rw-r--r--csum-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/csum-file.c b/csum-file.c
index 907efbf860..c66b9eb10b 100644
--- a/csum-file.c
+++ b/csum-file.c
@@ -45,6 +45,7 @@ int sha1close(struct sha1file *f, unsigned char *result, int update)
sha1flush(f, 20);
if (close(f->fd))
die("%s: sha1 file error on close (%s)", f->name, strerror(errno));
+ free(f);
return 0;
}