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

Re: [PATCH] column: release strbuf and string_list after use

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 27, 2023, 12:04 UTC
Message-ID
<xmqqr0kb2yhj.fsf@gitster.g>
In-Reply-To
<f087137d-a5aa-487e-a1cb-0ad7117b38ed@web.de>
René Scharfe <l.s.r@web.de> writes:
> Releasing strbuf and string_list just before exiting is not strictly
> necessary, but it gets rid of false positives reported by leak checkers,
> which can then be more easily used to show that the column-printing
> machinery behind print_columns() are free of leaks.
Thanks for being careful.  Will queue.
Previous: René Scharfe
Message 2 of 2 in “column: release strbuf and string_list after use”
  1. column: release strbuf and string_list after useRené Scharfe, Nov 26, 2023
  2. Junio C HamanoNov 27, 2023

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.