From 4b5ae9645faa1d43f6c85fd68ca6ed2b3cf948a8 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 Jul 2007 12:34:30 +0000 Subject: Fix for minor memory leak on unloading module, bug #340 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7439 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_remove.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index 9df5d200b..d28087ba8 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -276,8 +276,6 @@ class ModuleRemove : public Module virtual ~ModuleRemove() { - delete mycommand; - delete mycommand2; } virtual Version GetVersion() -- cgit v1.2.3