mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
remote: release strbuf after use in read_remote_branches()
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
aeb014f6ae
commit
e2581b7221
|
@ -571,6 +571,7 @@ static int read_remote_branches(const char *refname,
|
|||
else
|
||||
item->util = NULL;
|
||||
}
|
||||
strbuf_release(&buf);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue