[gnome-control-center] network: fix two net-device-wifi leaks
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: fix two net-device-wifi leaks
- Date: Wed, 30 Jan 2013 18:07:09 +0000 (UTC)
commit 7246b2b7ef6377fc636880dbedc3e8973f9a8c92
Author: Dan Winship <danw gnome org>
Date: Tue Jan 29 16:07:53 2013 -0500
network: fix two net-device-wifi leaks
https://bugzilla.gnome.org/show_bug.cgi?id=677145
panels/network/net-device-wifi.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index b128336..aedf2d3 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1778,6 +1778,8 @@ open_history (NetDeviceWifi *device_wifi)
g_object_set_data (G_OBJECT (button), "row", row);
}
}
+ g_slist_free (connections);
+ g_slist_free (filtered);
gtk_window_present (GTK_WINDOW (dialog));
}
@@ -1854,6 +1856,9 @@ populate_ap_list (NetDeviceWifi *device_wifi)
g_object_set_data (G_OBJECT (button), "row", row);
}
}
+
+ g_slist_free (connections);
+ g_slist_free (filtered);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]