Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
http-push: remove unneeded cleanup
author
Stefan Beller
<sbeller@google.com>
Sat, 21 Mar 2015 00:28:05 +0000
(17:28 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Mar 2015 18:12:58 +0000
(11:12 -0700)
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 <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
473091e
)
diff --git
a/http-push.c
b/http-push.c
index 0beb7ab67ffc93a6c8fe8517d711945e2c033b7d..9469684e9c9b68f9961352a2fcd046891282c8ac 100644
(file)
--- 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;
}