raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a4b70e791a81f00fa2bb1025de2d0ef6ad9c8712

commit a4b70e791a81f00fa2bb1025de2d0ef6ad9c8712
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Oct 18 21:39:53 2013 +0900

    fix unsafe list removal while walking it
---
 src/bin/e_pointer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_pointer.c b/src/bin/e_pointer.c
index 11c0f0b..021f565 100644
--- a/src/bin/e_pointer.c
+++ b/src/bin/e_pointer.c
@@ -178,11 +178,11 @@ e_pointer_type_pop(E_Pointer *p,
                    void *obj,
                    const char *type)
 {
-   Eina_List *l;
+   Eina_List *l, *l_next;
    E_Pointer_Stack *stack;
 
    if (!p) return;
-   EINA_LIST_FOREACH(p->stack, l, stack)
+   EINA_LIST_FOREACH_SAFE(p->stack, l, l_next, stack)
      {
         if ((stack->obj == obj) && ((!type) || (!strcmp(stack->type, type))))
           {

-- 


Reply via email to