From 62a1eab66838294f2b88d5ea94c1678c167d6189 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 16 Oct 2009 17:01:49 +0000 Subject: Clean up static allocations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11878 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index 4877cab5a..d1fb5e197 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -816,6 +816,11 @@ static const InitialConfig Values[] = { {"options", "invitebypassmodes", "1", new ValueContainerBool (&ServerConfig::InvBypassModes), DT_BOOLEAN, NULL}, }; +InitialConfig::~InitialConfig() +{ + delete val; +} + /* These tags can occur multiple times, and therefore they have special code to read them * which is different to the code for reading the singular tags listed above. */ -- cgit v1.3.1-10-gc9f91