diff --git a/src/devices/wifi/mac-low.cc b/src/devices/wifi/mac-low.cc index ea9243d21..f98124adb 100644 --- a/src/devices/wifi/mac-low.cc +++ b/src/devices/wifi/mac-low.cc @@ -271,6 +271,7 @@ void MacLow::DoDispose (void) { NS_LOG_FUNCTION (this); + m_listener = 0; CancelAllEvents (); m_phy = 0; m_stationManager = 0;