core: fix memleak in nm_exported_object_notify()
g_dbus_gvalue_to_gvariant() returns a non-floating ref.
Fixes: 073991f5a8
This commit is contained in:
@@ -637,6 +637,7 @@ nm_exported_object_notify (GObject *object, GParamSpec *pspec)
|
||||
dbus_property_name,
|
||||
variant);
|
||||
g_value_unset (&value);
|
||||
g_variant_unref (variant);
|
||||
|
||||
if (!priv->notify_idle_id)
|
||||
priv->notify_idle_id = g_idle_add (idle_emit_properties_changed, object);
|
||||
|
Reference in New Issue
Block a user