diff options
author | René Scharfe <l.s.r@web.de> | 2014-12-24 01:18:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-29 13:14:16 -0800 |
commit | 33adc83ddb315a614a59604a0d39caa5a1b27bdd (patch) | |
tree | ea58c4fa8f2fd59f3da8ab2944be3c7a91e30728 /git.c | |
parent | Sync with maint (diff) | |
download | tgif-33adc83ddb315a614a59604a0d39caa5a1b27bdd.tar.xz |
refs: plug strbuf leak in lock_ref_sha1_basic()
Don't just reset, but release the resource held by the local
variable that is about to go out of scope.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions