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:
cf1e45d
)
e_comp_wl_data: fix dereference after NULL check
71/117971/1
author
MinJeong Kim
<minjjj.kim@samsung.com>
Wed, 8 Mar 2017 07:02:48 +0000
(16:02 +0900)
committer
MinJeong Kim
<minjjj.kim@samsung.com>
Wed, 8 Mar 2017 07:02:48 +0000
(16:02 +0900)
Change-Id: Ibc7258c65d6904d19d055923f5e3d02b26f942c4
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_comp_wl_data.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_data.c
b/src/bin/e_comp_wl_data.c
index
3962c9a
..
3ce1c4d
100644
(file)
--- a/
src/bin/e_comp_wl_data.c
+++ b/
src/bin/e_comp_wl_data.c
@@
-167,7
+167,7
@@
_e_comp_wl_data_device_destroy_selection_data_source(struct wl_listener *listene
if (e_comp_wl->selection.cbhm)
cbhm_client = wl_resource_get_client(e_comp_wl->selection.cbhm);
- if (
source_client != cbhm_client
)
+ if (
(cbhm_client) && (source_client != cbhm_client)
)
{
data_device_res =
e_comp_wl_data_find_for_client(wl_resource_get_client(e_comp_wl->selection.cbhm));