summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp5
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.
*/