Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas
Modified Files:
evas_main.c
Log Message:
Fix deletion loop in evas_free()
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_main.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- evas_main.c 18 Jun 2005 01:00:29 -0000 1.19
+++ evas_main.c 19 Jun 2005 12:45:29 -0000 1.20
@@ -98,13 +98,14 @@
{
Evas_Object_List *l;
int i;
- int del = 1;
+ int del;
MAGIC_CHECK(e, Evas, MAGIC_EVAS);
return;
MAGIC_CHECK_END();
- while (del != 0)
+ del = 1;
+ while (del)
{
del = 0;
for (l = (Evas_Object_List *)(e->layers); l; l = l->next)
@@ -120,10 +121,9 @@
o = (Evas_Object *)ll;
if (!o->delete_me)
- del += o->delete_me;
+ del = 1;
}
}
-
}
while (e->layers)
{
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs