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_hash_free(modules);
|
||||
modules = NULL;
|
||||
ELM_SAFE_FREE(modules, eina_hash_free);
|
||||
}
|
||||
|
||||
if (modules_as) eina_hash_free(modules_as);
|
||||
modules_as = NULL;
|
||||
ELM_SAFE_FREE(modules_as, eina_hash_free);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -354,7 +354,7 @@ _elm_slideshow_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
|
|||
const char *layout;
|
||||
|
||||
elm_slideshow_clear(obj);
|
||||
if (sd->transitions) elm_widget_stringlist_free(sd->transitions);
|
||||
elm_widget_stringlist_free(sd->transitions);
|
||||
ecore_timer_del(sd->timer);
|
||||
|
||||
EINA_LIST_FREE(sd->layout.list, layout)
|
||||
|
|
Loading…
Reference in New Issue