Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> --- transport-helper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/transport-helper.c b/transport-helper.c index 835815f..522d791 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -214,9 +214,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); -- 1.8.3.rc1.553.gac13664 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html