git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] pathspec: fix memleak
@ 2022-08-22 21:15 Anthony Delannoy
  2022-08-22 21:15 ` [PATCH v2 1/1] " Anthony Delannoy
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Delannoy @ 2022-08-22 21:15 UTC (permalink / raw)
  To: git; +Cc: Anthony Delannoy

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-22 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22 21:15 [PATCH v2 0/1] pathspec: fix memleak Anthony Delannoy
2022-08-22 21:15 ` [PATCH v2 1/1] " Anthony Delannoy
2022-08-22 21:41   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).