bisect--helper: plug strvec leak
commit246526d019e0edf2ad804a182cae865ff5717cf7
authorRené Scharfe <l.s.r@web.de>
Fri, 7 Oct 2022 15:08:42 +0000 (7 17:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Oct 2022 17:21:18 +0000 (7 10:21 -0700)
tree39665bdb77be9dd7f275d6d02b981b7410f48de7
parenta0feb8611d4c0b2b5d954efe4e98207f62223436
bisect--helper: plug strvec leak

The strvec "argv" is used to build a command for run_command_v_opt(),
but never freed.  Use a constant string array instead, which doesn't
require any cleanup.

Suggested-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/bisect--helper.c