From: Rene Scharfe Date: Wed, 30 Aug 2017 18:00:25 +0000 (+0200) Subject: remote: release strbuf after use in read_remote_branches() X-Git-Tag: v2.15.0-rc0~78^2~12 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e2581b7221f52c30432dfc1a8934abd82b610e7c?ds=sidebyside remote: release strbuf after use in read_remote_branches() Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- diff --git a/builtin/remote.c b/builtin/remote.c index a995ea86c1..d0bf999abf 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -571,6 +571,7 @@ static int read_remote_branches(const char *refname, else item->util = NULL; } + strbuf_release(&buf); return 0; }