diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-30 11:14:24 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-30 11:23:09 -0700 |
| commit | 66893a14d0c0d3850227def321312a7290317610 (patch) | |
| tree | da83e1b9888a06a14b013391799ca4ac67efc376 /builtin/send-pack.c | |
| parent | a6c30623d77b5fe759d5d9bedc33957ddaff1b4d (diff) | |
| download | git-66893a14d0c0d3850227def321312a7290317610.tar.gz | |
builtin/send-pack: fix leaking list of push options
The list of push options is leaking. Plug the leak.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/send-pack.c')
| -rw-r--r-- | builtin/send-pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/send-pack.c b/builtin/send-pack.c index 8b1d46e79a..59b626aae8 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -340,6 +340,7 @@ int cmd_send_pack(int argc, /* stable plumbing output; do not modify or localize */ fprintf(stderr, "Everything up-to-date\n"); + string_list_clear(&push_options, 0); free_refs(remote_refs); free_refs(local_refs); refspec_clear(&rs); |
