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:
fff01d2
)
e_policy_conformant: Check a e_client is a null client
13/107413/1
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Wed, 28 Dec 2016 03:59:24 +0000
(12:59 +0900)
committer
JengHyun Kang
<jhyuni.kang@samsung.com>
Wed, 28 Dec 2016 03:59:24 +0000
(12:59 +0900)
Change-Id: I0c0d4dbf5fc8965c8e4c2edce6cbf5d16d49f5e1
src/bin/e_policy_conformant.c
patch
|
blob
|
history
diff --git
a/src/bin/e_policy_conformant.c
b/src/bin/e_policy_conformant.c
index c993f76af6059a76df5c4d8855c21a28680dc202..987ca02a8342d1fd2ff6c86d671a8c49f791d57d 100644
(file)
--- a/
src/bin/e_policy_conformant.c
+++ b/
src/bin/e_policy_conformant.c
@@
-243,6
+243,8
@@
_conf_client_add(E_Client *ec, struct wl_resource *res)
static E_Client *
_conf_part_owner_find(E_Client *part, Conformant_Type type)
{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(part, NULL);
+
if (type == CONFORMANT_TYPE_KEYBOARD)
{
return part->parent;