From: Mike Hommey Date: Sat, 6 Jun 2009 08:43:40 +0000 (+0800) Subject: transport.c::get_refs_via_curl(): do not leak refs_url X-Git-Tag: v1.6.4-rc0~60^2~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df005219dd4a4c7c310c1e1ab5946f9ba69cc82d;p=git.git transport.c::get_refs_via_curl(): do not leak refs_url Signed-off-by: Mike Hommey Signed-off-by: Tay Ray Chuan Signed-off-by: Junio C Hamano --- diff --git a/transport.c b/transport.c index 89d846e5c..b7c1c391c 100644 --- a/transport.c +++ b/transport.c @@ -519,6 +519,7 @@ static struct ref *get_refs_via_curl(struct transport *transport, int for_push) free(ref); } + free(refs_url); return refs; }