mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 04:10:28 +01:00
libnm-glib: fix memory leak of GSimpleAsyncResult loading object properties
This commit is contained in:
parent
faf376dad1
commit
1699a93be3
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue