projects
/
platform
/
core
/
uifw
/
e-mod-tizen-keyrouter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829bdca
)
Do not add destroy listener if client or surface is null
65/67865/1
accepted/tizen/common/20160429.170403
accepted/tizen/ivi/20160429.011904
accepted/tizen/mobile/20160429.011900
accepted/tizen/tv/20160429.011812
accepted/tizen/wearable/20160429.011816
submit/tizen/20160428.235112
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 28 Apr 2016 23:45:52 +0000
(08:45 +0900)
committer
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 28 Apr 2016 23:45:52 +0000
(08:45 +0900)
Change-Id: If6b1ad347edba1e495d1a50db32acf4b40fcd598
src/e_mod_main_wl.c
patch
|
blob
|
history
diff --git
a/src/e_mod_main_wl.c
b/src/e_mod_main_wl.c
index 9d918fb22bcc7891b0ffd0c7a3f9429027fd593f..d4dab8fdcf09cce001efe1672df0996ad1b64bd1 100644
(file)
--- a/
src/e_mod_main_wl.c
+++ b/
src/e_mod_main_wl.c
@@
-262,6
+262,8
@@
e_keyrouter_add_client_destroy_listener(struct wl_client *client)
Eina_List *l;
struct wl_client *wc_data;
+ if (!client) return TIZEN_KEYROUTER_ERROR_NONE;
+
EINA_LIST_FOREACH(krt->grab_client_list, l, wc_data)
{
if (wc_data)
@@
-296,6
+298,8
@@
e_keyrouter_add_surface_destroy_listener(struct wl_resource *surface)
Eina_List *l;
struct wl_resource *surface_data;
+ if (!surface) return TIZEN_KEYROUTER_ERROR_NONE;
+
EINA_LIST_FOREACH(krt->grab_surface_list, l, surface_data)
{
if (surface_data)