diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 20:00:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 08:49:28 +0900 |
commit | e2581b7221f52c30432dfc1a8934abd82b610e7c (patch) | |
tree | c2cd0c024a9221e772e971c4f7e6c96a63b588fc /builtin | |
parent | refs: release strbuf on error return in write_pseudoref() (diff) | |
download | tgif-e2581b7221f52c30432dfc1a8934abd82b610e7c.tar.xz |
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>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |