elm_win: fix potentially crash when accessing wl_surface before show for elm_win. 36/59836/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 19 Feb 2016 02:36:12 +0000 (11:36 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Fri, 19 Feb 2016 02:41:42 +0000 (11:41 +0900)
commit9c942dc36eca89df3e91b92b1f05bba272656267
tree6c04355a7b2abfd55250e5d39c777ef6cc040bf0
parentf828d0aca20c792654425e3780786060d0d730d6
elm_win: fix potentially crash when accessing wl_surface before show for elm_win.

since wl_surface is only valid after make elm_win to show,
if calling ecore_wl_window API befor show will be failed,
and will cause crash by accessing null wl_surface.

Change-Id: I668ce9e1cbcb27c3571950f78e37369c60c3be8d
src/lib/elm_win.c