diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-11-08 19:17:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-11-21 12:32:48 +0900 |
commit | c07ce0602a7958299c7fbbf2a5b70d1510c03981 (patch) | |
tree | 61fdb25eba8c27df5d542ddbaacc0d06113635bc /builtin/commit.c | |
parent | fc47252d5b36fe2267e34aa9471dd7bb37d40545 (diff) |
ls-files: fix a --with-tree memory leak
Fix a memory leak in overlay_tree_on_index(), we need to
clear_pathspec() at some point, which might as well be after the last
time we use it in the function.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions