From ab5750dbebe913f2a75117fd01a7f0d7fcc34dd3 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 23 Oct 2009 20:03:59 +0000 Subject: Fix memory leaks on reloadmodule and spanningtree unload while connecting servers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11960 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_reloadmodule.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/commands/cmd_reloadmodule.cpp') diff --git a/src/commands/cmd_reloadmodule.cpp b/src/commands/cmd_reloadmodule.cpp index 76920b758..20d520efe 100644 --- a/src/commands/cmd_reloadmodule.cpp +++ b/src/commands/cmd_reloadmodule.cpp @@ -43,6 +43,7 @@ class ReloadModuleWorker : public HandlerBase1 if (user) user->WriteNumeric(975, "%s %s :Module %ssuccessfully reloaded.", user->nick.c_str(), name.c_str(), result ? "" : "un"); + ServerInstance->GlobalCulls.AddItem(this); } }; -- cgit v1.2.3