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

Re: What's cooking in git.git (Dec 2009, #01; Tue, 01)

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Dec 2, 2009, 04:50 UTC
Message-ID
<alpine.LNX.2.00.0912012340060.14365@iabervon.org>
In-Reply-To
<7vaay2tkfh.fsf@alter.siamese.dyndns.org>
On Tue, 1 Dec 2009, Junio C Hamano wrote:
Show 14 quoted lines
> * sr/vcs-helper (2009-11-18) 12 commits
>   (merged to 'next' on 2009-11-27 at 83268ab)
>  + Add Python support library for remote helpers
>  + Basic build infrastructure for Python scripts
>  + Allow helpers to report in "list" command that the ref is unchanged
>  + Fix various memory leaks in transport-helper.c
>  + Allow helper to map private ref names into normal names
>  + Add support for "import" helper command
>  + Allow specifying the remote helper in the url
>  + Add a config option for remotes to specify a foreign vcs
>  + Allow fetch to modify refs
>  + Use a function to determine whether a remote is valid
>  + Allow programs to not depend on remotes having urls
>  + Fix memory leak in helper method for disconnect

The bottom one here now needs another hunk that reverts a free of the same memory (including in cases that this series will need to keep it) that snuck in unannounced with ef08ef9ea0a271e5be5844408d2496a946d6e8d9.

diff --git a/transport-helper.c b/transport-helper.c
index 5078c71..d729146 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -72,7 +72,6 @@ static int disconnect_helper(struct transport 
*transport)
                free(data->helper);
                data->helper = NULL;
        }
-       free(data);
        return 0;
 }
Previous: Junio C HamanoNext: Jakub Narebski
Message 2 of 3 in “What's cooking in git.git (Dec 2009, #01; Tue, 01)”
  1. Junio C HamanoDec 1, 2009
  2. Daniel BarkalowDec 2, 2009
  3. gitweb: Describe (possible) gitweb.js minification in gitweb/READMEJakub Narebski, Dec 2, 2009

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.