projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca1ef1
)
e_comp_wl: remove destroy_listener only if it exists
43/168043/2
author
Sung-Jin Park
<sj76.park@samsung.com>
Tue, 23 Jan 2018 23:34:30 +0000
(08:34 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Wed, 24 Jan 2018 03:58:20 +0000
(
03:58
+0000)
Change-Id: Ibad08c8bc62644e9cc2ec16d2ebfb55123c3dde6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index
2f033d7
..
663553b
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-4770,8
+4770,11
@@
_e_comp_wl_keydev_hash_free(const Eina_Hash *hash, const void *key, void *data,
destroy_listener = wl_client_get_destroy_listener(wc, _e_comp_wl_client_cb_destroy);
- wl_list_remove(&destroy_listener->link);
- E_FREE(destroy_listener);
+ if (destroy_listener)
+ {
+ wl_list_remove(&destroy_listener->link);
+ E_FREE(destroy_listener);
+ }
return EINA_TRUE;
}