Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/etox
Dir : e17/libs/etox/src
Modified Files:
etox.c etox_context.c
Log Message:
Fix one segfault triggered by the etox_test program. Still a couple more to
sort out.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- etox.c 23 Jul 2003 22:11:55 -0000 1.42
+++ etox.c 24 Jul 2003 05:34:44 -0000 1.43
@@ -1106,6 +1106,9 @@
CHECK_PARAM_POINTER("et", et);
+ if (!et->lines)
+ return;
+
prevline = et->lines->data;
for (l = et->lines->next; l; l = l->next) {
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox_context.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- etox_context.c 23 Jul 2003 06:46:17 -0000 1.7
+++ etox_context.c 24 Jul 2003 05:34:44 -0000 1.8
@@ -283,8 +283,7 @@
* Release this instance of the old style, and then get an instance of
* the new style.
*/
- if (et->context->style)
- FREE(et->context->style);
+ IF_FREE(et->context->style);
if (name && *name)
et->context->style = strdup(name);
-------------------------------------------------------
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