transport-helper: trivial style cleanup

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Felipe Contreras 2013-05-08 20:16:56 -05:00 committed by Junio C Hamano
parent 571cdfd4e0
commit b120ef3eac

View File

@ -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);