lock_ref_sha1_basic(): report errors via a "struct strbuf *err"
[gitweb.git] / http-push.c
index bfb1c9605b46e8308e91a80c38643ea920cd4d1b..c98dad23dfd86875209295fadda39c1f1b4f5224 100644 (file)
@@ -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;
        }