Enlightenment CVS committal Author : cedric Project : e17 Module : libs/eet
Dir : e17/libs/eet/src/lib Modified Files: eet_data.c Log Message: Fix INLINED_STRING allocation, this was causing the bug with edje_decc. =================================================================== RCS file: /cvs/e/e17/libs/eet/src/lib/eet_data.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -3 -r1.85 -r1.86 --- eet_data.c 27 Jun 2008 15:26:53 -0000 1.85 +++ eet_data.c 2 Jul 2008 12:10:12 -0000 1.86 @@ -2629,7 +2629,7 @@ if (type == EET_T_STRING) { - char **str, *str2; + char **str; str = (char **)(((char *)data)); if (*str) @@ -2645,6 +2645,17 @@ *str = edd->func.str_direct_alloc(*str); _eet_freelist_direct_str_add(*str); } + } + } + 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); } } } ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs