mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-20 00:10:37 +02:00
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:
parent
3697e568ba
commit
e828bae171
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue