Fix null dereference. 40/36840/1
authorMun, Gwan-gyeong <kk.moon@samsung.com>
Mon, 16 Mar 2015 08:41:50 +0000 (17:41 +0900)
committerMun, Gwan-gyeong <kk.moon@samsung.com>
Mon, 16 Mar 2015 08:41:50 +0000 (17:41 +0900)
  while e_comp_shutdown is going, e_client's object could be unfocused.

Change-Id: Ib8734941b48468ca60b93cb5eaca5115d79f227a

src/bin/e_comp_wl.c

index bd96b990e74dea7066f5c8221376d7e72d2f679e..a64f59ba0132e00e86cd2c799b15d65309c952ae 100644 (file)
@@ -192,6 +192,7 @@ _e_comp_wl_evas_cb_mouse_out(void *data, Evas *evas EINA_UNUSED, Evas_Object *ob
 
    if (!(ec = data)) return;
    if (ec->cur_mouse_action) return;
+   if (e_object_is_del(E_OBJECT(e_comp))) return;
    /* FIXME? this is a hack to just reset the cursor whenever we mouse out. not sure if accurate */
    {
       Evas_Object *o;