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:

committed by
Junio C Hamano

parent
ed3f9a12d1
commit
4168be8e39
@ -604,6 +604,7 @@ static int process_connect_service(struct transport *transport,
|
|||||||
cmdbuf.buf);
|
cmdbuf.buf);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
strbuf_release(&cmdbuf);
|
||||||
fclose(input);
|
fclose(input);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user