fix evry crash when switching views

T317
This commit is contained in:
Mike Blumenkrantz 2013-12-02 15:14:56 -05:00
parent 0ba6584994
commit ec9ea6c97c
1 changed files with 3 additions and 0 deletions

View File

@ -1526,6 +1526,9 @@ _evry_state_pop(Evry_Selector *sel, int immediate)
if (!s->delete_me)
{
if (win->state_clearing == s)
win->state_clearing = NULL;
ecore_timer_del(s->clear_timer);
E_FREE(s->inp);
E_FREE(s);
}