From cc0deea2322bb840f80d8aed9acbb05e13d5bebb Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 22 Jul 2007 17:38:22 +0000 Subject: m_testcommand deletes its command handler manually, no modules should do this. Will cause a double free git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7497 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_testcommand.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp index 6ec197eb6..842dd3a55 100644 --- a/src/modules/m_testcommand.cpp +++ b/src/modules/m_testcommand.cpp @@ -54,7 +54,6 @@ class ModuleTestCommand : public Module virtual ~ModuleTestCommand() { - delete newcommand; } virtual Version GetVersion() -- cgit v1.2.3