[PATCH v2 0/1] pathspec: fix memleak
- From
Anthony Delannoy <anthony.2lannoy@gmail.com>
- Date
- Aug 22, 2022, 21:15 UTC
- Message-ID
- <20220822211507.8693-1-anthony.2lannoy@gmail.com>
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