Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/lib Modified Files: edje_util.c Log Message: - this needs to be initialized =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_util.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -3 -r1.49 -r1.50 --- edje_util.c 12 Jan 2005 02:58:17 -0000 1.49 +++ edje_util.c 13 Jan 2005 06:00:37 -0000 1.50 @@ -125,7 +125,7 @@ cc = evas_hash_find(_edje_color_class_hash, color_class); if (!cc) { - cc = malloc(sizeof(Edje_Color_Class)); + cc = calloc(1, sizeof(Edje_Color_Class)); if (!cc) return; cc->name = strdup(color_class); if (!cc->name) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs