Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/etox
Dir : e17/libs/etox/src Modified Files: etox_line.c Log Message: Patch from Daniel Hulme to fix a double traversal/free of the estyles when clearing a line. This actually would have been an infinite loop if it hadn't caused a segv. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox_line.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- etox_line.c 23 Jul 2003 06:46:17 -0000 1.10 +++ etox_line.c 24 Jul 2003 01:41:44 -0000 1.11 @@ -38,7 +38,7 @@ /* * Only traverse the list if there are bits present. */ - while (line->bits) { + if (line->bits) { /* * Free all of the bits on the line. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs