diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-22 17:38:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-22 17:38:22 +0000 |
commit | cc0deea2322bb840f80d8aed9acbb05e13d5bebb (patch) | |
tree | f2e14d4434335a4826b73efa5a6d91b9e6aa2e17 | |
parent | b30006781f9d147709d1e4af7e057a2912e5795d (diff) |
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
-rw-r--r-- | src/modules/m_testcommand.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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() |