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:
19235c7
)
e_policy: fix bug for NULL_AFTER_DEREF error
88/300188/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 18 Oct 2023 06:23:33 +0000
(15:23 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Wed, 18 Oct 2023 06:39:32 +0000
(15:39 +0900)
Change-Id: I9254cd1681ad310e53fc7b92a5ee036b96e8a7ba
src/bin/e_policy.c
patch
|
blob
|
history
diff --git
a/src/bin/e_policy.c
b/src/bin/e_policy.c
index
e6e2180
..
c6134a6
100644
(file)
--- a/
src/bin/e_policy.c
+++ b/
src/bin/e_policy.c
@@
-1376,8
+1376,9
@@
_e_policy_cb_client_property(void *data EINA_UNUSED, int type EINA_UNUSED, void
E_Client *ec;
ev = event;
+ if (!ev || (!ev->ec)) return ECORE_CALLBACK_PASS_ON;
+
ec = ev->ec;
- if (!ev || (!ec)) return ECORE_CALLBACK_PASS_ON;
if (ev->property & E_CLIENT_PROPERTY_CLIENT_TYPE)
{
if (e_policy_client_is_home_screen(ec))