Skip to content

Commit

Permalink
transport.c::get_refs_via_curl(): do not leak refs_url
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Hommey authored and Junio C Hamano committed Jun 6, 2009
1 parent 4277c67 commit df00521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ static struct ref *get_refs_via_curl(struct transport *transport, int for_push)
free(ref);
}

free(refs_url);
return refs;
}

Expand Down

0 comments on commit df00521

Please sign in to comment.