elementary/gesture_layer: add to null check at _tap_gesture_check_finish

Signed-off-by: Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 71187
This commit is contained in:
Kim Shinwoo 2012-05-17 04:39:40 +00:00 committed by Hyoyoung Chang
parent 069260423e
commit 631e95b6c9
1 changed files with 1 additions and 0 deletions

View File

@ -1185,6 +1185,7 @@ _tap_gesture_check_finish(Gesture_Info *gesture)
Taps_Type *st = gesture->data;
Eina_List *l;
Eina_List *pe_list;
if (!st || !st->l) return EINA_FALSE;
EINA_LIST_FOREACH(st->l, l, pe_list)
{
if (eina_list_count(pe_list) != st->n_taps_needed)