diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-05-09 05:16:56 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-09 22:33:01 +0400 |
commit | b120ef3eac677762427631d5ae7372402a80b837 (patch) | |
tree | 0fea8c71a7344405fedba6af0d549eec1d93a30d | |
parent | 571cdfd4e0a4cc24e215a5d5f0cb24292a9d7929 (diff) |
transport-helper: trivial style cleanup
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | transport-helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/transport-helper.c b/transport-helper.c index dcd8d97411..fdd79d8b35 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -211,9 +211,8 @@ static struct child_process *get_helper(struct transport *transport) int i; data->refspec_nr = refspec_nr; data->refspecs = parse_fetch_refspec(refspec_nr, refspecs); - for (i = 0; i < refspec_nr; i++) { + for (i = 0; i < refspec_nr; i++) free((char *)refspecs[i]); - } free(refspecs); } strbuf_release(&buf); |