Commit e828bae1 authored by Thomas Haller's avatar Thomas Haller

core: fix memleak in nm_exported_object_notify()

g_dbus_gvalue_to_gvariant() returns a non-floating ref.

Fixes: 073991f5
parent 3697e568
......@@ -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);
......
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