summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-17 20:52:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-17 20:52:02 +0000
commit3f455b1747f822e867c37bc8902e51b5a36efba7 (patch)
tree0151beb5d75332fc0fc066470e81b3a07c77ce17 /src/modules/m_spanningtree.cpp
parent23dba98a52ec5c666dc8fd57460588bd205bf1db (diff)
Remember to delete the tree root when unloading the module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5495 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index d6fb1ac40..3bf13d59a 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -3564,6 +3564,7 @@ SpanningTreeUtilities::~SpanningTreeUtilities()
DELETE(sock);
}
}
+ delete TreeRoot;
}
void SpanningTreeUtilities::AddThisServer(TreeServer* server, std::deque<TreeServer*> &list)