projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5fc204
)
Fix INLINED_STRING allocation, this was causing the bug with edje_decc.
author
cedric
<cedric>
Wed, 2 Jul 2008 12:10:12 +0000
(12:10 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 2 Jul 2008 12:10:12 +0000
(12:10 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@34980
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eet_data.c
patch
|
blob
|
history
diff --git
a/src/lib/eet_data.c
b/src/lib/eet_data.c
index
d39bd56
..
b899310
100644
(file)
--- a/
src/lib/eet_data.c
+++ b/
src/lib/eet_data.c
@@
-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)
{