transport: free leaking head in transport_print_push_status()

Found by scan.coverity.com (ID: 1248110) Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed Oct 20, 2014 at 18:50 UTC dc76c7f783694557b08f01d99793979c482aee1f
1 file changed +1
transport.c
+1
@@ -774,6 +774,7 @@ void transport_print_push_status(const char *dest, struct ref *refs,
774 *reject_reasons |= REJECT_NEEDS_FORCE;
775 }
776 }
777 + free(head);
778 }
779
780 void transport_verify_remote_names(int nr_heads, const char **heads)