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

[PATCH 07/18] Some cleanup in get_refs_via_curl()

From
Tay Ray Chuan <rctay89@gmail.com>
Date
May 24, 2009, 14:19 UTC
Message-ID
<20090524221949.4e61f987.rctay89@gmail.com>
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
---
 transport.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/transport.c b/transport.c
index 89d846e..b7c1c39 100644
--- a/transport.c
+++ b/transport.c
@@ -519,6 +519,7 @@ static struct ref *get_refs_via_curl(struct transport *transport, int for_push)
 		free(ref);
 	}

+	free(refs_url);
 	return refs;
 }

--
1.6.3.1
Next: Junio C Hamano
Message 1 of 2 in “Some cleanup in get_refs_via_curl()”
  1. 07/18 Some cleanup in get_refs_via_curl()Tay Ray Chuan, May 24, 2009
  2. Junio C HamanoMay 24, 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.