From: JeongHyun Kang Date: Thu, 2 Jun 2016 11:02:05 +0000 (+0900) Subject: Call a release request if a device is removed X-Git-Tag: accepted/tizen/common/20160606.141725^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f822c58da6dbd0f0c78cfb221e9d57fe43c9547b;p=platform%2Fupstream%2Fefl.git Call a release request if a device is removed Change-Id: I00ab477fdebb799a3554daee3ed18544613973dc --- diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index 3c013aa..86d584d 100644 --- a/src/lib/ecore_wayland/ecore_wl_input.c +++ b/src/lib/ecore_wayland/ecore_wl_input.c @@ -2153,7 +2153,7 @@ _ecore_wl_input_device_manager_cb_device_remove(void *data EINA_UNUSED, struct t clas = _ecore_wl_input_cap_to_ecore_device_class(dev->clas); _ecore_wl_input_device_info_broadcast(dev->name, dev->identifier, clas, EINA_FALSE); - if (dev->tz_device) tizen_input_device_destroy(dev->tz_device); + if (dev->tz_device) tizen_input_device_release(dev->tz_device); if (dev->name) eina_stringshare_del(dev->name); if (dev->identifier) eina_stringshare_del(dev->identifier); dev->seat = NULL;