touch: fix check validation of the point 69/55669/1 accepted/tizen/mobile/20151228.233343 accepted/tizen/tv/20151228.232240 accepted/tizen/wearable/20151228.231523 submit/tizen/20151228.124733
authorSangjin Lee <lsj119@samsung.com>
Mon, 28 Dec 2015 11:45:11 +0000 (20:45 +0900)
committerSangjin Lee <lsj119@samsung.com>
Mon, 28 Dec 2015 11:45:11 +0000 (20:45 +0900)
Change-Id: I2c7b6b1e113718ca7cd4ba97d57982f1c3c7253b

src/lib/pepper/touch.c

index 5fe46d427c5596161640a26e21bfe1f1b217b166..596309a3b7f8d82d8e00bcb411611e493dd8c2cb 100644 (file)
@@ -159,7 +159,7 @@ pepper_touch_destroy(pepper_touch_t *touch)
 
     pepper_list_for_each_safe(point, tmp, &touch->point_list, link)
     {
-        if (point->focus)
+        if (point->focus_destroy_listener)
             pepper_event_listener_remove(point->focus_destroy_listener);
 
         free(point);