Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote-bzr: reorganize the way 'wanted' works
[gitweb.git]
/
transport-helper.c
diff --git
a/transport-helper.c
b/transport-helper.c
index 835815f61d7cfe12b32b13d92241830af858f8f4..522d79178e2cc4909a5df21fe483946fc3d1ad0e 100644
(file)
--- 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);