diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-20 13:11:53 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-20 13:11:53 -0700 |
commit | cfe96b38fddc114c0bc98bbeab51b0f18fd102c3 (patch) | |
tree | 257f93be22b4abcf5626c6d5f47268ace4dbec87 /connect.c | |
parent | daea6fca3564e880dfe29bfab65fd5b608e9491d (diff) | |
parent | fd2014d42b3a4fb865d99e9a7943caa08082cada (diff) | |
download | git-cfe96b38fddc114c0bc98bbeab51b0f18fd102c3.tar.gz |
Merge branch 'sb/leaks'
Code cleanup.
* sb/leaks:
builtin/help.c: fix memory leak
bundle.c: fix memory leak
connect.c: do not leak "conn" after showing diagnosis
Diffstat (limited to 'connect.c')
-rw-r--r-- | connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -739,6 +739,7 @@ struct child_process *git_connect(int fd[2], const char *url, free(hostandport); free(path); + free(conn); return NULL; } else { ssh = getenv("GIT_SSH_COMMAND"); |