mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
settings: remove duplicated dbus_g_method_return()
Could cause a crash when updating a connection, since dbus-glib may clear DBusGMethodInvocation resources during this method. Since update_complete() is actually our completion/cleanup handler for this operation chain, we can remove the standalone call to dbus_g_method_return().
This commit is contained in:
parent
7f6d10f3c3
commit
c7c8655832
1 changed files with 0 additions and 2 deletions
|
|
@ -1205,8 +1205,6 @@ con_update_cb (NMSettingsConnection *self,
|
|||
GUINT_TO_POINTER (NM_SETTING_SECRET_FLAG_AGENT_OWNED));
|
||||
nm_agent_manager_save_secrets (info->agent_mgr, for_agent, TRUE, info->sender_uid);
|
||||
g_object_unref (for_agent);
|
||||
|
||||
dbus_g_method_return (info->context);
|
||||
}
|
||||
|
||||
update_complete (self, info, error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue