[glib/glib-2-32] gnetworkmonitornetlink: don't leak the list of networks
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-32] gnetworkmonitornetlink: don't leak the list of networks
- Date: Sat, 14 Jul 2012 23:19:03 +0000 (UTC)
commit a9435d59b4878f0bed744de6b61aeb867b15d5a7
Author: Dan Winship <danw gnome org>
Date: Thu May 17 13:48:21 2012 -0400
gnetworkmonitornetlink: don't leak the list of networks
https://bugzilla.gnome.org/show_bug.cgi?id=676265
gio/gnetworkmonitornetlink.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gnetworkmonitornetlink.c b/gio/gnetworkmonitornetlink.c
index 7fac1bc..a276c58 100644
--- a/gio/gnetworkmonitornetlink.c
+++ b/gio/gnetworkmonitornetlink.c
@@ -285,7 +285,7 @@ finish_dump (GNetworkMonitorNetlink *nl)
g_network_monitor_base_set_networks (G_NETWORK_MONITOR_BASE (nl),
(GInetAddressMask **)nl->priv->dump_networks->pdata,
nl->priv->dump_networks->len);
- g_ptr_array_free (nl->priv->dump_networks, FALSE);
+ g_ptr_array_free (nl->priv->dump_networks, TRUE);
nl->priv->dump_networks = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]