forked from enlightenment/efl
elm: Removed unnecessary null check for eina_hash_free and
elm_widget_stringlist_free.
This commit is contained in:
parent
5353aa863c
commit
3e45b920ee
|
@ -56,12 +56,10 @@ _elm_module_shutdown(void)
|
||||||
|
|
||||||
EINA_LIST_FREE(tl, m) _elm_module_del(m);
|
EINA_LIST_FREE(tl, m) _elm_module_del(m);
|
||||||
|
|
||||||
eina_hash_free(modules);
|
ELM_SAFE_FREE(modules, eina_hash_free);
|
||||||
modules = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modules_as) eina_hash_free(modules_as);
|
ELM_SAFE_FREE(modules_as, eina_hash_free);
|
||||||
modules_as = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -354,7 +354,7 @@ _elm_slideshow_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
||||||
const char *layout;
|
const char *layout;
|
||||||
|
|
||||||
elm_slideshow_clear(obj);
|
elm_slideshow_clear(obj);
|
||||||
if (sd->transitions) elm_widget_stringlist_free(sd->transitions);
|
elm_widget_stringlist_free(sd->transitions);
|
||||||
ecore_timer_del(sd->timer);
|
ecore_timer_del(sd->timer);
|
||||||
|
|
||||||
EINA_LIST_FREE(sd->layout.list, layout)
|
EINA_LIST_FREE(sd->layout.list, layout)
|
||||||
|
|
Loading…
Reference in New Issue