mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-07 00:31:11 +00:00
libnm-glib: fix memory leak of GSimpleAsyncResult loading object properties
This commit is contained in:
parent
faf376dad1
commit
1699a93be3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue