From 002f31f1dd4957d1e9353784bac1eb031a639b1b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 21 Sep 2008 16:55:12 +0000 Subject: Fix leak, thanks aquanight git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10586 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_filter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index 57e5d8fdb..b82396dce 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -588,6 +588,7 @@ class ModuleFilter : public FilterBase { if (i->freeform == freeform) { + delete i->regex; filters.erase(i); return true; } -- cgit v1.2.3