Commit 17e95c59 authored by Dan Winship's avatar Dan Winship
Browse files

gnetworkmonitornetlink: don't leak the list of networks
parent 0ecbb0a4
......@@ -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,
g_ptr_array_free (nl->priv->dump_networks, FALSE);
g_ptr_array_free (nl->priv->dump_networks, TRUE);
nl->priv->dump_networks = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment