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

Re: [PATCH] git.c: two memory leak fixes

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Mar 15, 2015, 11:53 UTC
Message-ID
<CANCZXo4rJWJohDpeb+nt3t=WBjmq14473+ynuPhvOuPd9+Vs_w@mail.gmail.com>
In-Reply-To
<xmqq3857vw9b.fsf@gitster.dls.corp.google.com>
Hello Junio,
>>This is technically correct, but do we really care about it?
Yes, as i saw handle_alias called once, and we no need to care about it.
>>I think it is wrong to free alias_string after passing it to
>>split_cmdline() and while you still need to use the new_argv.
Yes, right. sorry for the noise.
Previous: Junio C Hamano
Message 3 of 3 in “git.c: two memory leak fixes”
  1. git.c: two memory leak fixesAlexander Kuleshov, Mar 14, 2015
  2. Junio C HamanoMar 15, 2015
  3. Alexander KuleshovMar 15, 2015

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.