diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-16 17:01:49 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-16 17:01:49 +0000 |
commit | 62a1eab66838294f2b88d5ea94c1678c167d6189 (patch) | |
tree | b673ecb572a3dfcb341a97fc72ee38c891b6d5af /src/configreader.cpp | |
parent | 7c55dfc7887b2ca91e4ebdf9f2733de8adb56e18 (diff) |
Clean up static allocations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11878 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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. */ |