From 3f455b1747f822e867c37bc8902e51b5a36efba7 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 17 Oct 2006 20:52:02 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_spanningtree.cpp') 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 &list) -- cgit v1.2.3