fix crash on comp reload

SVN revision: 75855
This commit is contained in:
Mike Blumenkrantz 2012-08-30 09:01:16 +00:00
parent d1b1e0be06
commit 150de8da36
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ _match_list_free(Eina_List *list)
EAPI void
e_mod_cfdata_config_free(Config *cfg)
{
if (cfg->shadow_style) eina_stringshare_del(cfg->shadow_style);
if (!cfg) return;
eina_stringshare_del(cfg->shadow_style);
_match_list_free(cfg->match.popups);
_match_list_free(cfg->match.borders);