[PATCH] Plug memory leak in sha1close()
authorSergey Vlasov <vsu@altlinux.ru>
Mon, 8 Aug 2005 18:46:13 +0000 (22:46 +0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 9 Aug 2005 05:51:46 +0000 (22:51 -0700)
commit7bf058f0082d17b25b343782e3a33779cc7c956d
tree1e3553faba35854f539d5dd6edd0def954e93f02
parentbfc66daf5c0dcb1a507ff2533760ac5505eee6a3
[PATCH] Plug memory leak in sha1close()

sha1create() and sha1fd() malloc the returned struct sha1file;
sha1close() should free it.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
csum-file.c