evas_events: add checking NULL logic to source mouse event.
authorHosang Kim <hosang12.kim@samsung.com>
Mon, 2 Jan 2017 06:17:40 +0000 (15:17 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 2 Jan 2017 06:17:40 +0000 (15:17 +0900)
commitfc05adbb478b6d0738014027e1273cbce4ea9fae
treeb38902c0a457467ac6f7312488982a2906fccd3a
parentb1f1cd14c21948ba8a6b629ff8c686f68f891897
evas_events: add checking NULL logic to source mouse event.

Summary:
When the proxy's source is updated, the proxy's event list will be
updated, too. But there is no way now. So add defensive code for
protecting segment fault.

@fix

Reviewers: woohyun, raster, jpeg

Reviewed By: jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4508
src/lib/evas/canvas/evas_events.c