Changes since v1: - use directly clear_pathspec() function instead of multiple free() Sending this patch to fix a memleak, created with copy_pathspec, found thanks to the address sanitizer. Thanks Anthony Delannoy (1): pathspec: fix memleak preload-index.c | 6 ++++++ 1 file changed, 6 insertions(+) base-commit: 795ea8776befc95ea2becd8020c7a284677b4161 -- 2.35.1