Browse Source

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>
maint
Mike Hommey 16 years ago committed by Junio C Hamano
parent
commit
df005219dd
  1. 1
      transport.c

1
transport.c

@ -519,6 +519,7 @@ static struct ref *get_refs_via_curl(struct transport *transport, int for_push) @@ -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…
Cancel
Save