From c584e9ec9525799af10cd81fbb35e03f565f290b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 6 Apr 2015 23:23:50 +0200 Subject: [PATCH] - fixed destructor call of FConfigSection in FConfigFile. --- src/configfile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } }