From: Vadim Zeitlin Date: Mon, 10 Apr 2006 00:52:21 +0000 (+0000) Subject: fix for the previous commit: delete m_conv after calling Flush() which uses it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2754877b7c466256330bdfbf3f1056cb126edd01?ds=inline fix for the previous commit: delete m_conv after calling Flush() which uses it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index d43cc89957..385b76df94 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -568,11 +568,11 @@ void wxFileConfig::CleanUp() wxFileConfig::~wxFileConfig() { - delete m_conv; - Flush(); CleanUp(); + + delete m_conv; } // ----------------------------------------------------------------------------