raster pushed a commit to branch master.
commit 738b5d417dd67ff9c3c05c6f313e05edcccd0652
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue May 28 19:43:51 2013 +0900
fix segv in applyig fileman config to all fwins while walking fwin list
(deleting an fwin while walking)
---
src/modules/fileman/e_fwin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index 0661aa6..18713a1 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -537,7 +537,7 @@ e_fwin_reload_all(void)
E_Zone *zone;
/* Reload/recreate zones cause of property changes */
- EINA_LIST_FOREACH(fwins, l, fwin)
+ EINA_LIST_FOREACH_SAFE(fwins, l, ll, fwin)
{
if (!fwin) continue; //safety
if (fwin->zone)
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may