[Genlist][Bugfix] BS occurs in _item_del at Email searching
authorJung Chanwook <joey.jung@samsung.com>
Thu, 15 Mar 2012 10:12:54 +0000 (19:12 +0900)
committerJung Chanwook <joey.jung@samsung.com>
Thu, 15 Mar 2012 10:12:54 +0000 (19:12 +0900)
src/lib/elm_genlist.c

index 085ae61..34d8f40 100644 (file)
@@ -6344,7 +6344,7 @@ _elm_genlist_item_del_notserious(Elm_Gen_Item *it)
      {
         if (!it->item->block && (it->relcount == 1))
           {
-             if (it->item->rel)
+             if (it->item->rel && it->item->rel->item)
                {
                   it->item->rel->relcount--;
                   if ((it->item->rel->generation < it->wd->generation) && (!it->item->rel->relcount))