mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-28 01:36:36 +00:00
FIXED: It's not nice to leak memory.
This commit is contained in:
parent
0637f74779
commit
91d0ed861b
1 changed files with 3 additions and 0 deletions
|
@ -66,6 +66,9 @@ namespace NLGUI
|
|||
{
|
||||
if( _Parent != NULL )
|
||||
_Parent->delView( _ViewText );
|
||||
else
|
||||
delete _ViewText;
|
||||
|
||||
_ViewText = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue