summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-02-18 13:53:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-18 13:53:29 -0800
commit18636afdce5f272d79fe6c3036e4e74f69a0845a (patch)
tree5e2b6e66d9928aeb226dd5740dfab62802a3e8d1 /builtin/fetch.c
parentMerge branch 'ab/hash-object-leakfix' (diff)
parentls-remote & transport API: release "struct transport_ls_refs_options" (diff)
downloadtgif-18636afdce5f272d79fe6c3036e4e74f69a0845a.tar.xz
Merge branch 'ab/release-transport-ls-refs-options'
* ab/release-transport-ls-refs-options: ls-remote & transport API: release "struct transport_ls_refs_options"
Diffstat (limited to 'builtin/fetch.c')
-rw-r--r--builtin/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index 6f5e157863..ada4059fe8 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -1594,7 +1594,7 @@ static int do_fetch(struct transport *transport,
} else
remote_refs = NULL;
- strvec_clear(&transport_ls_refs_options.ref_prefixes);
+ transport_ls_refs_options_release(&transport_ls_refs_options);
ref_map = get_ref_map(transport->remote, remote_refs, rs,
tags, &autotags);