mirror of
https://github.com/git/git.git
synced 2024-10-30 05:47:53 +01: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
1 changed files with 1 additions and 0 deletions
|
@ -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