Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
utf8: release strbuf on error return in strbuf_utf8_replace()
[gitweb.git]
/
transport-helper.c
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;
}