diff --git a/src/devices/nm-device-team.c b/src/devices/nm-device-team.c index 734cf4d5b9..1fe7caf927 100644 --- a/src/devices/nm-device-team.c +++ b/src/devices/nm-device-team.c @@ -270,6 +270,7 @@ teamd_cleanup (NMDevice *dev, gboolean device_state_failed) if (priv->tdc) { teamdctl_disconnect (priv->tdc); teamdctl_free (priv->tdc); + priv->tdc = NULL; } #endif