There was an extra free(url) in remote_exists() (both if clauses before that contain a free(url) already), which resulted in a crash on Windows.
Noticed by Nigel Magnay.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> ---
This fixes Issue 71 of msysGit, as far as I can tell.
http-push.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Show changes to http-push.c +0 −1
diff --git a/http-push.c b/http-push.c index 64be904..a78e0a9 100644 --- a/http-push.c +++ b/http-push.c @@ -1991,7 +1991,6 @@ static int remote_exists(const char *path) fprintf(stderr, "Unable to start HEAD request\n"); } - free(url); return ret; }
-- 1.5.3.6.2304.gbc8e45-dirty