Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
remote: release strbuf after use in read_remote_branches()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 18:00:25 +0000
(20:00 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 Sep 2017 23:49:28 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/remote.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
aeb014f
)
diff --git
a/builtin/remote.c
b/builtin/remote.c
index a995ea86c17474be248a974469f7d535c942fc70..d0bf999abf7459f45dec25e4f1920b766a44aea1 100644
(file)
--- 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;
}