]> git.ipfire.org Git - thirdparty/git.git/commit - bundle.c
bundle: plug minor memory leak in is_tag_in_date_range()
authorRené Scharfe <l.s.r@web.de>
Fri, 3 Oct 2014 22:40:24 +0000 (00:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Oct 2014 17:48:09 +0000 (10:48 -0700)
commit64045940af0539f15335d7664908e74d1febc439
tree3a81be1b9f6a85ddda34c443716155c4ab1bd2b1
parent80b616d04b8f5a15b5d5587d67baf6e2e28c9f87
bundle: plug minor memory leak in is_tag_in_date_range()

Free the buffer returned by read_sha1_file() even if no valid tagger
line is found.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bundle.c