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

Re: [PATCH 1/2 v2] Fix XML parser leaks in http-push

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 11, 2007, 22:36 UTC
Message-ID
<7v4peodfkb.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1197412253-927-1-git-send-email-mh@glandium.org>
Mike Hommey <mh@glandium.org> writes:
Show 8 quoted lines
> XML_Parser were never freed. While at it, move the parser initialization to
> right before it is needed.
>
> Signed-off-by: Mike Hommey <mh@glandium.org>
> ---
>
>  This one is the same, but against pu, where Junio fixed my strbuf patch in
>  a different way than I did.

To be very honest, I wish the strbuf patch (that has potentially larger impact) did not take these obviously correct leakfix patches hostage.

Will have to take a look but slowly (I'm at work now).
Previous: Mike HommeyNext: Mike Hommey
Message 5 of 6 in “Fix XML parser leaks in http-push”
  1. 1/2 Fix XML parser leaks in http-pushMike Hommey, Dec 11, 2007
  2. 2/2 Fix some memory leaks in various placesMike Hommey, Dec 11, 2007
  3. 3/2 Fix small memory leaks induced by diff_tree_setup_pathsMike Hommey, Dec 11, 2007
  4. 1/2 Fix XML parser leaks in http-pushMike Hommey, Dec 11, 2007
  5. Junio C HamanoDec 11, 2007
  6. 1/2 Fix XML parser leaks in http-pushMike Hommey, Dec 11, 2007

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.