Commit f139929
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>1 parent e505146 commit f139929
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
782 | 781 | | |
783 | 782 | | |
784 | 783 | | |
| |||
826 | 825 | | |
827 | 826 | | |
828 | 827 | | |
| 828 | + | |
| 829 | + | |
829 | 830 | | |
830 | 831 | | |
831 | 832 | | |
| |||
862 | 863 | | |
863 | 864 | | |
864 | 865 | | |
| 866 | + | |
865 | 867 | | |
866 | 868 | | |
867 | 869 | | |
| |||
0 commit comments