summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2010-09-22 13:11:59 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2010-09-23 12:02:51 -0400
commite7df1a4157cc95e658a31de55e8374c4364a2238 (patch)
treec0b7d65ffa54055e7087c83c2f2ced7efd612e7e /gio
parent99d57b5ce952b7f43ff52b41362035bfa193eb5f (diff)
Fix memory leak in SOCKSv5 implementation
Diffstat (limited to 'gio')
-rw-r--r--gio/gsocks5proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gsocks5proxy.c b/gio/gsocks5proxy.c
index 3da829e99..431a13a6e 100644
--- a/gio/gsocks5proxy.c
+++ b/gio/gsocks5proxy.c
@@ -587,6 +587,7 @@ free_connect_data (ConnectAsyncData *data)
g_free (data->hostname);
g_free (data->username);
g_free (data->password);
+ g_free (data->buffer);
if (data->cancellable)
g_object_unref (data->cancellable);