From: Stefan Beller Date: Sat, 21 Mar 2015 00:28:05 GMT Subject: [PATCH 08/15] http-push: Remove unneeded cleanup Message-ID: <1426897692-18322-9-git-send-email-sbeller@google.com> In-Reply-To: <1426897692-18322-1-git-send-email-sbeller@google.com> preq is NULL as the condition the line before dictates. And the cleanup function release_http_pack_request is not null pointer safe. Signed-off-by: Stefan Beller --- http-push.c | 1 - 1 file changed, 1 deletion(-) diff --git a/http-push.c b/http-push.c index bfb1c96..c98dad2 100644 --- a/http-push.c +++ b/http-push.c @@ -316,7 +316,6 @@ static void start_fetch_packed(struct transfer_request *request) preq = new_http_pack_request(target, repo->url); if (preq == NULL) { - release_http_pack_request(preq); repo->can_update_info_refs = 0; return; } -- 2.3.0.81.gc37f363