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
This commit is contained in:
@@ -568,11 +568,11 @@ void wxFileConfig::CleanUp()
|
|||||||
|
|
||||||
wxFileConfig::~wxFileConfig()
|
wxFileConfig::~wxFileConfig()
|
||||||
{
|
{
|
||||||
delete m_conv;
|
|
||||||
|
|
||||||
Flush();
|
Flush();
|
||||||
|
|
||||||
CleanUp();
|
CleanUp();
|
||||||
|
|
||||||
|
delete m_conv;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user