fixed a memory leak bug in StdAwk.cpp when compiled for mchar

This commit is contained in:
2014-03-11 14:54:05 +00:00
parent fa3757222a
commit 35839c9f67
2 changed files with 8 additions and 4 deletions

View File

@ -170,13 +170,11 @@ oops:
void StdAwk::close ()
{
#if defined(QSE_CHAR_IS_WCHAR)
if (this->cmgrtab_inited)
{
qse_htb_fini (&this->cmgrtab);
this->cmgrtab_inited = false;
}
#endif
clearConsoleOutputs ();
Awk::close ();