summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-12-17 18:20:38 +0100
committerJiří Klimeš <jklimes@redhat.com>2014-12-17 18:20:38 +0100
commiteb561f2746cf67690db8c5e7aa60fc575ac881a0 (patch)
treec3220fa2107b93421ed198a09f96fd4423c23a89
parent3bb6fe3b74861ff9b8ba7344a767d02465541703 (diff)
downloadNetworkManager-jk/beaker-connection_removal_of_disapperared_device.tar.gz
device: fix a crash due to running on queued_set_state() disposed devicejk/beaker-connection_removal_of_disapperared_device
Fixes:beaker:test_log-NetworkManager_Test41_connection_removal_of_disapperared_device
-rw-r--r--src/devices/nm-device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 3abeadf483..8d0711160a 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -7718,7 +7718,6 @@ queued_set_state (gpointer user_data)
/* Clear queued state struct before triggering state change, since
* the state change may queue another state.
*/
- priv->queued_state.id = 0;
new_state = priv->queued_state.state;
new_reason = priv->queued_state.reason;
nm_device_queued_state_clear (self);