fix stringshare usage when applying conf2 string option

SVN revision: 83167
This commit is contained in:
Mike Blumenkrantz 2013-01-23 12:20:00 +00:00
parent fe9efb8eed
commit feb662019e
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ _e_configure_option_apply(E_Configure_Option *co, Eina_List **events, Eina_List
{
eina_stringshare_replace(co->valptr, NULL);
eina_value_get(&co->val, co->valptr);
eina_stringshare_ref(co->valptr);
eina_stringshare_ref(*(Eina_Stringshare**)co->valptr);
}
else if (co->type != E_CONFIGURE_OPTION_TYPE_CUSTOM)
eina_value_get(&co->val, co->valptr);