fix evry crash when switching views

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

View File

@ -1577,6 +1577,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);
}