diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-24 15:00:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-24 15:00:09 -0700 |
commit | 95d2255bfe9f766c357d2a4e9a7c005647ab0b88 (patch) | |
tree | b188ead4aee2cf39334bcea6061010c288a55c7a | |
parent | Merge branch 'nd/dir-prep-exclude-cleanup' (diff) | |
parent | .mailmap: add Stefan Bellers corporate mail address (diff) | |
download | tgif-95d2255bfe9f766c357d2a4e9a7c005647ab0b88.tar.xz |
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()
-rw-r--r-- | .mailmap | 1 | ||||
-rw-r--r-- | transport.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -205,6 +205,7 @@ Shawn O. Pearce <spearce@spearce.org> Simon Hausmann <hausmann@kde.org> <simon@lst.de> Simon Hausmann <hausmann@kde.org> <shausman@trolltech.com> Stefan Beller <stefanbeller@gmail.com> <stefanbeller@googlemail.com> +Stefan Beller <stefanbeller@gmail.com> <sbeller@google.com> Stefan Naewe <stefan.naewe@gmail.com> <stefan.naewe@atlas-elektronik.com> Stefan Naewe <stefan.naewe@gmail.com> <stefan.naewe@googlemail.com> Stefan Sperling <stsp@elego.de> <stsp@stsp.name> 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) |