FIXED: It's not nice to leak memory.

This commit is contained in:
dfighter1985 2013-03-09 20:58:53 +01:00
parent 0637f74779
commit 91d0ed861b

View file

@ -66,6 +66,9 @@ namespace NLGUI
{
if( _Parent != NULL )
_Parent->delView( _ViewText );
else
delete _ViewText;
_ViewText = NULL;
}
}