mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 06:08:02 +02:00
vpn: fix crash when VPN service times-out to start
Previously, we took a reference when scheduling _daemon_exec_timeout().
That was changed, but we still wrongly unref'ed the VPN connection
on timeout.
Related: https://bugzilla.gnome.org/show_bug.cgi?id=766307
Fixes: 6c12f04e87
This commit is contained in:
parent
f1dc3e0cf8
commit
1ec5e0b958
1 changed files with 0 additions and 3 deletions
|
|
@ -1916,9 +1916,6 @@ _daemon_exec_timeout (gpointer data)
|
|||
_LOGW ("Timed out waiting for the service to start");
|
||||
priv->start_timeout = 0;
|
||||
nm_vpn_connection_disconnect (self, NM_VPN_CONNECTION_STATE_REASON_SERVICE_START_TIMEOUT, FALSE);
|
||||
|
||||
g_object_unref (self);
|
||||
|
||||
return G_SOURCE_REMOVE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue