mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-03 12:26:23 -05:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
bbcefffcea
commit
33adc83ddb
Reference in New Issue
Block a user