This commit is contained in:
kervala 2014-08-17 16:08:25 +02:00
commit 5d2fc44ac1

View file

@ -128,6 +128,10 @@ CIXml::~CIXml ()
{ {
// Release // Release
release (); release ();
#ifdef USE_LOCALE_ATOF
if (_Locale) _free_locale((_locale_t)_Locale);
#endif
} }
// *************************************************************************** // ***************************************************************************
@ -154,11 +158,6 @@ void CIXml::release ()
_ErrorString = ""; _ErrorString = "";
resetPtrTable(); resetPtrTable();
#ifdef USE_LOCALE_ATOF
if (_Locale) _free_locale((_locale_t)_Locale);
_Locale = NULL;
#endif
} }
// *************************************************************************** // ***************************************************************************