diff options
author | Mike Hommey <mh@glandium.org> | 2009-06-06 16:43:40 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-06 10:56:27 -0700 |
commit | df005219dd4a4c7c310c1e1ab5946f9ba69cc82d (patch) | |
tree | aa512df4ecf676b409bfeaafc19a6514379c5574 | |
parent | 4277c6709d1976ee5cef33b7e415ae0dded87090 (diff) | |
download | git-df005219dd4a4c7c310c1e1ab5946f9ba69cc82d.tar.gz git-df005219dd4a4c7c310c1e1ab5946f9ba69cc82d.tar.xz |
transport.c::get_refs_via_curl(): do not leak refs_url
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |