fix crash in e bindings from not using safe list iterator

SVN revision: 77268
This commit is contained in:
Mike Blumenkrantz 2012-10-01 13:14:31 +00:00
parent 715048c75e
commit 45a916177f
1 changed files with 2 additions and 2 deletions

View File

@ -681,10 +681,10 @@ EAPI void
e_bindings_edge_del(E_Binding_Context ctxt, E_Zone_Edge edge, E_Binding_Modifier mod, int any_mod, const char *action, const char *params, float delay)
{
E_Binding_Edge *binding;
Eina_List *l;
Eina_List *l, *ll;
int ref_count = 0;
EINA_LIST_FOREACH(edge_bindings, l, binding)
EINA_LIST_FOREACH_SAFE(edge_bindings, l, ll, binding)
{
if (binding->edge == edge)
{