diff --git a/src/configfile.cpp b/src/configfile.cpp index e64005fc4..b8db74eb3 100644 --- a/src/configfile.cpp +++ b/src/configfile.cpp @@ -116,8 +116,7 @@ FConfigFile::~FConfigFile () delete[] (char *)entry; entry = nextentry; } - section->~FConfigSection(); - delete[] (char *)section; + delete section; section = nextsection; } }