E: Make sure the window actually has a pointer before trying to delete

it.



SVN revision: 60704
This commit is contained in:
Christopher Michael 2011-06-26 18:10:03 +00:00
parent c942bf1be2
commit 4af10df930
1 changed files with 3 additions and 1 deletions

View File

@ -430,7 +430,9 @@ e_win_border_icon_key_set(E_Win *win, const char *key)
static void
_e_win_free(E_Win *win)
{
e_object_del(E_OBJECT(win->pointer));
if (win->pointer)
e_object_del(E_OBJECT(win->pointer));
e_canvas_del(win->ecore_evas);
ecore_evas_free(win->ecore_evas);
if (win->border)