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

Re: [PATCH] rerere: plug memory leaks upon "rerere forget" failure

From
Johannes Sixt <j6t@kdbg.org>
Date
May 19, 2016, 19:43 UTC
Message-ID
<573E1758.8090801@kdbg.org>
In-Reply-To
<xmqqpossi31p.fsf@gitster.mtv.corp.google.com>
Am 12.05.2016 um 01:32 schrieb Junio C Hamano:
Show 7 quoted lines
> +	if (unlink(filename)) {
> +		if (errno == ENOENT)
> +			error("no remembered resolution for %s", path);
> +		else
> +			error("cannot unlink %s: %s", filename, strerror(errno));
> +		goto fail_exit;
> +	};

If you haven't merged this topic yet, you might want to remove this superfluous empty statement.

-- Hannes
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “rerere: plug memory leaks upon "rerere forget" failure”
  1. rerere: plug memory leaks upon "rerere forget" failureJunio C Hamano, May 11, 2016
  2. Johannes SixtMay 19, 2016
  3. Junio C HamanoMay 19, 2016

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.