FIXED: It's not nice to leak memory.

--HG--
branch : gsoc2012-gui-editor
hg/feature/sse2
dfighter1985 12 years ago
parent 363154e241
commit 20820697a3

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

Loading…
Cancel
Save