elm: add safety check
authorJaeun Choi <jaeun12.choi@samsung.com>
Tue, 21 Apr 2015 05:30:41 +0000 (14:30 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Tue, 21 Apr 2015 05:30:41 +0000 (14:30 +0900)
commitf1ae9c16b3a6610c18efbc583cf27e5d637fee4a
treed0aa7815112ee35f051dc9c3e0e0be5971acf53d
parentc3d88e790cd0566902853f2afbf415de4b1fe58c
elm: add safety check

when insert a new item before/after an item, the relative item should not be NULL.
this patch fixes naviframe, gengrid, genlist, list, and toolbar.

@fix
src/lib/elc_naviframe.c
src/lib/elm_gengrid.c
src/lib/elm_genlist.c
src/lib/elm_list.c
src/lib/elm_toolbar.c