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: NRene Scharfe <l.s.r@web.de> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录