summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/utils.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-17 19:07:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-17 19:07:31 +0000
commit599941771e7d174c3e15f65ab2a1d7d9fefbd5f3 (patch)
tree4c191b23f14b2ee15d65db765607d65e57177bdb /src/modules/m_spanningtree/utils.cpp
parent7c412df4fdb322bed6cea72f3e2631527ae99011 (diff)
Stability fixes, some DELETEs here that dont belong any more.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7470 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/utils.cpp')
-rw-r--r--src/modules/m_spanningtree/utils.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 9675a6ac8..9d4fbf41a 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -190,7 +190,6 @@ SpanningTreeUtilities::~SpanningTreeUtilities()
{
ServerInstance->SE->DelFd(Bindings[i]);
Bindings[i]->Close();
- DELETE(Bindings[i]);
}
while (TreeRoot->ChildCount())
{
@@ -200,7 +199,6 @@ SpanningTreeUtilities::~SpanningTreeUtilities()
TreeSocket* sock = child_server->GetSocket();
ServerInstance->SE->DelFd(sock);
sock->Close();
- DELETE(sock);
}
}
delete TreeRoot;
@@ -486,7 +484,6 @@ void SpanningTreeUtilities::ReadConfiguration(bool rebind)
{
ServerInstance->Log(DEFAULT,"m_spanningtree: Warning: Failed to bind server port: %s:%d: %s",IP.c_str(), portno, strerror(errno));
listener->Close();
- DELETE(listener);
}
}
}