summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-08-08 18:45:36 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-09 05:51:45 (GMT)
commitbfc66daf5c0dcb1a507ff2533760ac5505eee6a3 (patch)
tree9c1182bc1cf0b818f39c777eae225659a872c369 /templates
parent1cf58e72225f45472124266c020f8595988374d8 (diff)
downloadgit-bfc66daf5c0dcb1a507ff2533760ac5505eee6a3.zip
git-bfc66daf5c0dcb1a507ff2533760ac5505eee6a3.tar.gz
git-bfc66daf5c0dcb1a507ff2533760ac5505eee6a3.tar.bz2
[PATCH] Plug memory leak in write_sha1_to_fd()
If the object to write was packed, both its uncompressed and compressed data were leaked. If the object was not packed, its file was not unmapped. [jc: I think it still leaks on the write error path of write_sha1_to_fd(), but that should be fixable in a small separate patch.] Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions