From 509f691a3c3455f8c11f1ba9b94554a2303e9362 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 20 Mar 2009 13:30:46 +0000 Subject: Fix a bad malloc (why the hell is it malloc???) in m_nationalchars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11240 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_nationalchars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_nationalchars.cpp b/src/modules/m_nationalchars.cpp index 64de4d858..72f233715 100755 --- a/src/modules/m_nationalchars.cpp +++ b/src/modules/m_nationalchars.cpp @@ -226,7 +226,7 @@ class ModuleNationalChars : public Module public: ModuleNationalChars(InspIRCd* Me) : Module(Me) { - rememberer = (caller2 *) malloc(sizeof(rememberer)); + rememberer = (caller2 *) malloc(sizeof(caller2)); lowermap_rememberer = national_case_insensitive_map; memcpy(m_lower, rfc_case_insensitive_map, 256); -- cgit v1.2.3