Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lock_ref_sha1_basic(): report errors via a "struct strbuf *err"
[gitweb.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index 14c924b030cc17e083d4b8662faf5c6d48f68d85..391d21192f8d9593ce9b194488019eae3ec7d8d3 100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-741,6
+741,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");