From 2db811a764d70734cfe2d9e0992430e2f7fc53e9 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 17 Dec 2005 20:07:07 +0100 Subject: Small memory leak fixed. --- protocols/http_client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/http_client.c') diff --git a/protocols/http_client.c b/protocols/http_client.c index fa735426..17745b08 100644 --- a/protocols/http_client.c +++ b/protocols/http_client.c @@ -340,6 +340,7 @@ got_reply: if( req->fd < 0 ) error = 1; } + g_free( new_host ); if( error ) { -- cgit v1.2.3