]> git.ipfire.org Git - thirdparty/git.git/commit - connect.c
connect: release strbuf on error return in git_connect()
authorRene Scharfe <l.s.r@web.de>
Wed, 30 Aug 2017 17:49:39 +0000 (19:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Sep 2017 23:49:27 +0000 (08:49 +0900)
commitf13992917b97766a29ecd05caea7f74431fb30a6
tree74113a880b9c8435a9f8685369d567a45e5751ff
parente505146dac276cc051eca199f9dc7ca88bef5f18
connect: release strbuf on error return in git_connect()

Reduce the scope of the variable cmd and release it before returning
early.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c