fix valgrind complaint

SVN revision: 70466
This commit is contained in:
Carsten Haitzler 2012-04-25 10:34:13 +00:00
parent bf1f059e4d
commit d7522aeb07
1 changed files with 5 additions and 0 deletions

View File

@ -410,6 +410,11 @@ _del_hook(Evas_Object * obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
if (wd->idler)
{
ecore_idle_enterer_del(wd->idler);
wd->idler = NULL;
}
free(wd);
}