mbox series

[v2,0/1] pathspec: fix memleak

Message ID 20220822211507.8693-1-anthony.2lannoy@gmail.com (mailing list archive)
Headers show
Series pathspec: fix memleak | expand

Message

Anthony Delannoy Aug. 22, 2022, 9:15 p.m. UTC
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