transport-helper: release strbuf after use in process_connect_service()

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Rene Scharfe 2017-08-30 20:20:15 +02:00 committed by Junio C Hamano
parent ed3f9a12d1
commit 4168be8e39

View File

@ -604,6 +604,7 @@ static int process_connect_service(struct transport *transport,
cmdbuf.buf);
exit:
strbuf_release(&cmdbuf);
fclose(input);
return ret;
}