diff options
-rw-r--r-- | transport-helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c index 660147f9e..b560b6414 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -728,6 +728,7 @@ static int push_refs_with_export(struct transport *transport, strbuf_addf(&buf, "^%s", private); string_list_append(&revlist_args, strbuf_detach(&buf, NULL)); } + free(private); string_list_append(&revlist_args, ref->name); |