[glib] Fix memory leak in SOCKSv5 implementation
- From: Nicolas Dufresne <nicolasd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix memory leak in SOCKSv5 implementation
- Date: Thu, 23 Sep 2010 16:04:26 +0000 (UTC)
commit e7df1a4157cc95e658a31de55e8374c4364a2238
Author: Nicolas Dufresne <nicolas dufresne collabora co uk>
Date: Wed Sep 22 13:11:59 2010 -0400
Fix memory leak in SOCKSv5 implementation
gio/gsocks5proxy.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsocks5proxy.c b/gio/gsocks5proxy.c
index 3da829e..431a13a 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]