gui/widget/hintbox.cpp: use hide() in dtor

This commit is contained in:
[CST] Focus
2014-09-24 13:18:09 +04:00
parent 126a2ffde2
commit 31d5811bc3

View File

@@ -130,11 +130,7 @@ void CHintBox::init(const char * const Caption, const char * const Text, const i
CHintBox::~CHintBox(void) CHintBox::~CHintBox(void)
{ {
if (window != NULL) hide();
{
delete window;
window = NULL;
}
free(message); free(message);
} }