check for NULL

SVN revision: 14397
This commit is contained in:
Carsten Haitzler 2005-04-27 07:07:46 +00:00
parent 762f2fe9b3
commit cc79b3af64
1 changed files with 7 additions and 3 deletions

View File

@ -45,8 +45,12 @@ void e_resize_begin(E_Zone *zone, int w, int h)
}
void e_resize_end(void)
{
if (_obj)
{
evas_object_del(_obj);
_obj = NULL;
}
if (_ee)
{
e_canvas_del(_ee);