elm: Removed unnecessary null check for eina_hash_free and

elm_widget_stringlist_free.
This commit is contained in:
Daniel Juyung Seo 2014-01-22 11:13:30 +09:00
parent 5353aa863c
commit 3e45b920ee
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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)