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:
50d2bfd
)
e_eom: add checking null condition
19/172819/1
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Fri, 16 Mar 2018 06:33:53 +0000
(15:33 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Fri, 16 Mar 2018 06:33:56 +0000
(15:33 +0900)
Change-Id: Icc1cded9ea5367d5998af01d75814a3f31230781
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_eom.c
patch
|
blob
|
history
diff --git
a/src/bin/e_eom.c
b/src/bin/e_eom.c
index
e952c29
..
3c36a5b
100644
(file)
--- a/
src/bin/e_eom.c
+++ b/
src/bin/e_eom.c
@@
-1204,6
+1204,8
@@
_e_eom_output_init(tdm_display *dpy)
eom_output->mode = EOM_OUTPUT_MODE_NONE;
eom_output->connection = WL_EOM_STATUS_NONE;
eom_output->eout = e_output_find_by_index(i);
+ EINA_SAFETY_ON_NULL_GOTO(eom_output->eout, err);
+
eom_output->output = eom_output->eout->toutput;
eom_output->type = (eom_output_type_e)eom_output->eout->toutput_type;