Enlightenment CVS committal Author : onefang Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_desktop Modified Files: ecore_desktop.c Log Message: If icon_class ends up being blank, then free and null it. Thanks to jeffdameth for pointing out the problem. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -3 -r1.54 -r1.55 --- ecore_desktop.c 29 Sep 2006 12:25:39 -0000 1.54 +++ ecore_desktop.c 30 Sep 2006 16:45:26 -0000 1.55 @@ -413,6 +413,11 @@ *p = tolower(*p); p++; } + if (result->icon_class[0] == '\0') + { + free(result->icon_class); + result->icon_class = NULL; + } } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs