Skip to content

Commit

Permalink
transport-helper: trivial style cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed May 9, 2013
1 parent 571cdfd commit b120ef3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions transport-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b120ef3

Please sign in to comment.