efl_ui_win_socket: Prevent application crash. 57/176757/1
authorWoochan Lee <wc0917.lee@samsung.com>
Mon, 23 Apr 2018 07:55:34 +0000 (16:55 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Mon, 23 Apr 2018 08:00:56 +0000 (17:00 +0900)
commit591a49a433fced663dff2b584e87af339a0d35c2
treec170dc7576bb569ab99f7e6b9b109ca12ca337db
parent146ad348047ba0b78768377ee51d573bc877dee5
efl_ui_win_socket: Prevent application crash.

When creation a window in indicator app,
The spcify ecore_evas as the prarent in efl_ui_win_finalize_internal(),
However calling efl_parent_get() in the evas constructor will calling the implemented below logic.
It returns null and make a crash.

Change-Id: Icd3d0b7652959ffe505ba5d728119179ed7c52b5
src/lib/elementary/efl_ui_win_socket.c