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>
This commit is contained in:
parent
4277c6709d
commit
df005219dd
@ -519,6 +519,7 @@ static struct ref *get_refs_via_curl(struct transport *transport, int for_push)
|
||||
free(ref);
|
||||
}
|
||||
|
||||
free(refs_url);
|
||||
return refs;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user