From dc76c7f783694557b08f01d99793979c482aee1f Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Mon, 20 Oct 2014 18:50:44 -0700 Subject: [PATCH 1/2] transport: free leaking head in transport_print_push_status() Found by scan.coverity.com (ID: 1248110) Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- transport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/transport.c b/transport.c index 662421bb5..cb62cb688 100644 --- a/transport.c +++ b/transport.c @@ -774,6 +774,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) From 8b148bf085fdcbacc42db5966467bd382962f27c Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Mon, 20 Oct 2014 18:50:45 -0700 Subject: [PATCH 2/2] .mailmap: add Stefan Bellers corporate mail address Note that despite the private address being first and primary, Google owns the copyright on this patch as any other patch I'll be sending signed off by the sbeller@google.com address. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 8aefb5a45..bb6f52ecd 100644 --- a/.mailmap +++ b/.mailmap @@ -205,6 +205,7 @@ Shawn O. Pearce Simon Hausmann Simon Hausmann Stefan Beller +Stefan Beller Stefan Naewe Stefan Naewe Stefan Sperling