Skip to content

pathspec: fix memleak

Anthony Delannoy git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- use directly clear_pathspec() function instead of multiple free()

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1pathspec: fix memleakpreload-index.c+6 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] pathspec: fix memleak

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