summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-10-07 17:08:42 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-07 10:21:18 -0700
commit246526d019e0edf2ad804a182cae865ff5717cf7 (patch)
tree39665bdb77be9dd7f275d6d02b981b7410f48de7 /commit.c
parenta0feb8611d4c0b2b5d954efe4e98207f62223436 (diff)
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>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions