Found with:
valgrind --tool=memcheck --leak-check=full --show-reachable=yes
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
}
free(refspecs);
}
+ strbuf_release(&buf);
return data->helper;
}
}
disconnect_helper(transport);
finish_command(&fastimport);
+ free(fastimport.argv);
+ fastimport.argv = NULL;
for (i = 0; i < nr_heads; i++) {
char *private;
read_ref(private, posn->old_sha1);
free(private);
}
+ strbuf_release(&buf);
return 0;
}