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:
parent
bbcefffcea
commit
33adc83ddb
Loading…
Reference in New Issue
Block a user