>From 216f27db1f768fd80519a4e57dd835a1f497d902 Mon Sep 17 00:00:00 2001 From: Gregoire Barbier, gb at gbarbier dot org Date: Sun, 30 Dec 2007 17:45:54 +0100 Subject: [PATCH] Removed double-free() int http-push.c. --- http-push.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/http-push.c b/http-push.c index 64be904..55d0c94 100644 --- a/http-push.c +++ b/http-push.c @@ -1979,7 +1979,6 @@ static int remote_exists(const char *path) if (start_active_slot(slot)) { run_active_slot(slot); - free(url); if (results.http_code == 404) ret = 0; else if (results.curl_result == CURLE_OK) @@ -1987,7 +1986,6 @@ static int remote_exists(const char *path) else fprintf(stderr, "HEAD HTTP error %ld\n", results.http_code); } else { - free(url); fprintf(stderr, "Unable to start HEAD request\n"); } -- 1.5.4.rc2.4.gcef60-dirty