Fix INLINED_STRING allocation, this was causing the bug with edje_decc.
SVN revision: 34980
This commit is contained in:
parent
2bda662d65
commit
f9f12aec91
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue