From 88cfec21eb8b1ab3acbc5125aa4587ba99243d50 Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Tue, 13 Oct 2009 12:51:46 -0700 Subject: [PATCH] release Ptrs in mesh-point-device --- src/devices/mesh/mesh-point-device.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devices/mesh/mesh-point-device.cc b/src/devices/mesh/mesh-point-device.cc index 5c4dba64f..e25bc60b5 100644 --- a/src/devices/mesh/mesh-point-device.cc +++ b/src/devices/mesh/mesh-point-device.cc @@ -59,6 +59,9 @@ MeshPointDevice::MeshPointDevice () : MeshPointDevice::~MeshPointDevice () { NS_LOG_FUNCTION_NOARGS (); + m_node = 0; + m_channel = 0; + m_routingProtocol = 0; } void @@ -70,7 +73,6 @@ MeshPointDevice::DoDispose () *iter = 0; } m_ifaces.clear (); - m_node = 0; NetDevice::DoDispose (); }