fix valgrind complaint on accessing freed mem. it was right.

SVN revision: 55532
This commit is contained in:
Carsten Haitzler 2010-12-13 07:29:23 +00:00
parent fc220557e7
commit 2425078e6f
1 changed files with 2 additions and 2 deletions

View File

@ -277,10 +277,10 @@ e_fwin_all_unsel(void *data)
void
e_fwin_zone_shutdown(E_Zone *zone)
{
Eina_List *f;
Eina_List *f, *fn;
E_Fwin *win;
EINA_LIST_FOREACH(fwins, f, win)
EINA_LIST_FOREACH_SAFE(fwins, f, fn, win)
{
if (win->zone != zone) continue;
e_object_del(E_OBJECT(win));