summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-27 20:02:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-27 20:02:32 (GMT)
commit553c622b685f0a7a83c77617377f08019d76c682 (patch)
tree59a6165ca81d3355fe9279a929563fd1c0b91d55 /http-push.c
parent2dfb2e07cb0cb979f630643b57dca579a0359a9d (diff)
parent826aed50cbb072d8f159e4c8ba0f9bd3df21a234 (diff)
downloadgit-553c622b685f0a7a83c77617377f08019d76c682.zip
git-553c622b685f0a7a83c77617377f08019d76c682.tar.gz
git-553c622b685f0a7a83c77617377f08019d76c682.tar.bz2
Merge branch 'sb/leaks'
* sb/leaks: http: release the memory of a http pack request as well read-cache: fix memleak add_to_index(): free unused cache-entry commit.c: fix a memory leak http-push: remove unneeded cleanup merge-recursive: fix memleaks merge-blobs.c: fix a memleak builtin/apply.c: fix a memleak update-index: fix a memleak read-cache: free cache entry in add_to_index in case of early return
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c1
1 files changed, 0 insertions, 1 deletions
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;
}