elementary/index - [E-devel] [PATCH] elm_index : set it->letter to NULL after eina_stringshare_del 
elementary/index - [E-devel] [PATCH] elm_index : set it->letter to NULL after eina_stringshare_del 

Hello all,

In elm_index.c, _item_del_pre_hook calls _item_free, where it->letter
is not set to NULL after eina_stringshare_del.
This will cause invalid access later on. The attached patch fixes the
problem, which is reproducible in my code before the fix.
Please check if this makes sense.

I am sorry that I was unable come up with a simple test app to
demonstrate the problem.

Thanks in advance.


Brian

Signed-Off-By:Brian Wang<brian.wang.0721@gmail.com>



SVN revision: 75723

rvandegrift/elementary,FlorentRevest/Elementary,rvandegrift/elementary,rvandegrift/elementary,tasn/elementary,FlorentRevest/Elementary,tasn/elementary,tasn/elementary,FlorentRevest/Elementary,FlorentRevest/Elementary,tasn/elementary,rvandegrift/elementary,tasn/elementary