From: brain Date: Tue, 17 Oct 2006 20:52:02 +0000 (+0000) Subject: Remember to delete the tree root when unloading the module X-Git-Tag: v2.0.23~6878 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=inline;h=3f455b1747f822e867c37bc8902e51b5a36efba7;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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)