[gnome-control-center/wip/networking3: 16/17] network: fix two net-device-wifi leaks



commit d6fb8a7d5f3cf019c04ae05d89844e23a46b80a4
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]