Commit bb358832 authored by Lubomir Rintel's avatar Lubomir Rintel 🥕

nm-object: don't leak the properties on changed signals

https://bugzilla.redhat.com/show_bug.cgi?id=1314976
parent fd9eeca3
......@@ -994,8 +994,10 @@ process_properties_changed (NMObject *self, GVariant *properties, gboolean synch
return;
g_variant_iter_init (&iter, properties);
while (g_variant_iter_next (&iter, "{&sv}", &name, &value))
while (g_variant_iter_next (&iter, "{&sv}", &name, &value)) {
handle_property_changed (self, name, value, synchronously);
g_variant_unref (value);
}
}
static void
......
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