evas_events: add NULL check logic to source mouse event.
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 22 Dec 2016 05:10:04 +0000 (14:10 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 07:27:05 +0000 (16:27 +0900)
commit5856507af5e412c319a6f3bde3b5cd6315b6e301
treeb128e84399fe8c1fbb361680b459bf4b67ef7d95
parentcf89c81a8a397b3f5732a11d73d4e55ecdc32df2
evas_events: add NULL check logic to source mouse event.

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
Change-Id: Iaf0b6d8c519c4c478c2b16b923066c59ba69f7e2
src/lib/evas/canvas/evas_events.c