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:
b51abea
)
e_comp_wl: fix missing null check issue
25/298725/2
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 13 Sep 2023 02:30:33 +0000
(11:30 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Wed, 13 Sep 2023 04:39:10 +0000
(
04:39
+0000)
Change-Id: Iab265105ce5cedd3c0f952e6f5ea6e7bffc25a92
Signed-off-by: Jihoon Kim <jihoon48.kim@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
6d630ee
..
8b65d09
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-2546,6
+2546,8
@@
_e_comp_wl_cb_mouse_move(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Mou
EINA_SAFETY_ON_NULL_RETURN_VAL(ec, ECORE_CALLBACK_RENEW);
struct wl_resource *surface = e_comp_wl_client_surface_get(ec);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(surface, ECORE_CALLBACK_RENEW);
+
res = e_comp_wl_data_find_for_client(wl_resource_get_client(surface));
EINA_SAFETY_ON_NULL_RETURN_VAL(res, ECORE_CALLBACK_RENEW);