bugfix: reset iterator to head before the second lookup.

SVN revision: 67539
This commit is contained in:
Gustavo Sverzut Barbieri 2012-01-25 17:06:29 +00:00
parent 3683b0e719
commit be80cc08ec
1 changed files with 1 additions and 0 deletions

View File

@ -3872,6 +3872,7 @@ _eina_value_struct_operations_stringshare_find_member(const Eina_Value_Struct_Op
return itr;
}
itr = desc->members;
name = eina_stringshare_add(name);
eina_stringshare_del(name); /* we'll not use the contents, this is fine */
/* stringshare and look again */