exported-object: fix memory leak

Fixes: 8c4e824997
This commit is contained in:
Beniamino Galvani 2016-12-20 10:13:44 +01:00
parent e4edef8fe2
commit 9d589046f9

View file

@ -947,7 +947,8 @@ vtype_found:
g_hash_table_insert (ifdata->pending_notifies,
(gpointer) dbus_property_name,
value_variant);
}
} else
g_variant_unref (value_variant);
if (!priv->notify_idle_id)
priv->notify_idle_id = g_idle_add (idle_emit_properties_changed, self);