Fix INLINED_STRING allocation, this was causing the bug with edje_decc.

SVN revision: 34980
This commit is contained in:
Cedric BAIL 2008-07-02 12:10:12 +00:00
parent 2bda662d65
commit f9f12aec91
1 changed files with 12 additions and 1 deletions

View File

@ -2629,7 +2629,7 @@ eet_data_get_unknown(const Eet_Dictionary *ed, Eet_Data_Descriptor *edd, Eet_Dat
if (type == EET_T_STRING)
{
char **str, *str2;
char **str;
str = (char **)(((char *)data));
if (*str)
@ -2647,6 +2647,17 @@ eet_data_get_unknown(const Eet_Dictionary *ed, Eet_Data_Descriptor *edd, Eet_Dat
}
}
}
else if (type == EET_T_INLINED_STRING)
{
char **str;
str = (char **)(((char *)data));
if (*str)
{
*str = edd->func.str_alloc(*str);
_eet_freelist_str_add(*str);
}
}
}
else if (ede->subtype)
{