Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-25 02:00:09 +0400
committerJunio C Hamano <gitster@pobox.com>2014-10-25 02:00:09 +0400
commit95d2255bfe9f766c357d2a4e9a7c005647ab0b88 (patch)
treeb188ead4aee2cf39334bcea6061010c288a55c7a /transport.c
parent1758d236a253c10f34ae16cd2ae6d9c57eb312a7 (diff)
parent8b148bf085fdcbacc42db5966467bd382962f27c (diff)
Merge branch 'sb/plug-transport-leak'
Code clean-up. * sb/plug-transport-leak: .mailmap: add Stefan Bellers corporate mail address transport: free leaking head in transport_print_push_status()
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.c b/transport.c
index b56620ed7f..70d38e4c4b 100644
--- a/transport.c
+++ b/transport.c
@@ -775,6 +775,7 @@ void transport_print_push_status(const char *dest, struct ref *refs,
*reject_reasons |= REJECT_NEEDS_FORCE;
}
}
+ free(head);
}
void transport_verify_remote_names(int nr_heads, const char **heads)