git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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

Next: Anthony Delannoy
Message 1 of 3 in “pathspec: fix memleak”
  1. 0/1 pathspec: fix memleakAnthony Delannoy, Aug 22, 2022
  2. 1/1 pathspec: fix memleakAnthony Delannoy, Aug 22, 2022
  3. Junio C HamanoAug 22, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.