aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-17 20:07:07 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-17 20:07:07 +0100
commit2db811a764d70734cfe2d9e0992430e2f7fc53e9 (patch)
tree5dc2478c22eccfd2eeb58fbb18650e86bd6545ef
parent52b3a9978681da7c3f2cd21cd6987eb158a54a03 (diff)
Small memory leak fixed.
-rw-r--r--protocols/http_client.c1
1 files changed, 1 insertions, 0 deletions
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 )
{