theme: free all theme resources when elementary is shutdown.

This commit is contained in:
Tae-Hwan Kim 2013-07-11 11:34:21 +09:00 committed by Cedric Bail
parent d7b9aa66b1
commit 7471612475
1 changed files with 6 additions and 0 deletions

View File

@ -376,7 +376,13 @@ _elm_theme_parse(Elm_Theme *th, const char *theme)
void
_elm_theme_shutdown(void)
{
Elm_Theme *th;
_elm_theme_clear(&(theme_default));
EINA_LIST_FREE(themes, th)
{
_elm_theme_clear(th);
free(th);
}
}
EAPI Elm_Theme *