Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
transport-helper: release strbuf after use in process_connect_service()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 18:20:15 +0000
(20:20 +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>
transport-helper.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ed3f9a1
)
diff --git
a/transport-helper.c
b/transport-helper.c
index 8f68d69a86bd919162b62514af0b1d1d55e204a1..519a2445835e647f036fc2cda8e66fccb6fecac1 100644
(file)
--- a/
transport-helper.c
+++ b/
transport-helper.c
@@
-604,6
+604,7
@@
static int process_connect_service(struct transport *transport,
cmdbuf.buf);
exit:
+ strbuf_release(&cmdbuf);
fclose(input);
return ret;
}