[Genlist] Fix item class unref/free usage
authorTae-Hwan Kim <the81.kim@samsung.com>
Sat, 4 May 2013 10:06:50 +0000 (19:06 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:49:56 +0000 (13:49 +0900)
commit593fff76a68a4f5b8f3c1620e0547b0a8caf2390
treedb7424e002150915f625802f53bf1c9283dc1b04
parent700c05731c5ea5e5f7518f0f8dfd510714597aa8
[Genlist] Fix item class unref/free usage

1. unref - lower reference count or if it is 0, call item class free
2. free - delet all callbacks, if reference count is 0, free item or
if it is not, call item class unref

Change-Id: If370d2e6babd60ef43446a7c1ce88c79d7b71462
src/lib/elm_genlist.c