Free the strdup'd string when destroying a theme property.

SVN revision: 19351
This commit is contained in:
rbdpngn 2005-12-28 21:42:08 +00:00 committed by rbdpngn
parent ae2bff67cc
commit e37b4166d8
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ ecore_config_dst(Ecore_Config_Prop * e)
if (e->key)
free(e->key);
if (e->ptr && (e->type == ECORE_CONFIG_STR))
if (e->ptr && ((e->type == ECORE_CONFIG_STR) || (e->type == ECORE_CONFIG_THM)))
free(e->ptr);
memset(e, 0, sizeof(Ecore_Config_Prop));