libnm-glib: fix memory leak of GSimpleAsyncResult loading object properties

This commit is contained in:
Dan Williams 2013-03-27 08:05:14 -05:00
parent faf376dad1
commit 1699a93be3

View file

@ -1399,6 +1399,7 @@ _nm_object_reload_properties_async (NMObject *object, GAsyncReadyCallback callba
if (!priv->property_interfaces && !priv->pseudo_properties) {
g_simple_async_result_complete_in_idle (simple);
g_object_unref (simple);
return;
}