t9001: style modernisation phase #4
[gitweb.git] / transport.c
index b56620ed7f63aa12716e5168d817722716e6d89d..70d38e4c4b35c6207e226ab7cb54095c34bb4766 100644 (file)
@@ -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)