diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-03-27 13:02:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-27 13:02:32 -0700 |
commit | 553c622b685f0a7a83c77617377f08019d76c682 (patch) | |
tree | 59a6165ca81d3355fe9279a929563fd1c0b91d55 /http-push.c | |
parent | 2dfb2e07cb0cb979f630643b57dca579a0359a9d (diff) | |
parent | 826aed50cbb072d8f159e4c8ba0f9bd3df21a234 (diff) | |
download | git-553c622b685f0a7a83c77617377f08019d76c682.tar.gz |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c index bfb1c9605b..c98dad23df 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; } |