projects
/
platform
/
core
/
uifw
/
e-mod-tizen-rdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d5027c
)
Add null checking condition
69/277269/3
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Mon, 4 Jul 2022 08:14:31 +0000
(17:14 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Mon, 4 Jul 2022 08:46:53 +0000
(17:46 +0900)
Change-Id: I92a3020231b13d5ed6c1f8671b30058a374f8bc8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/e_mod_rdp.c
patch
|
blob
|
history
diff --git
a/src/e_mod_rdp.c
b/src/e_mod_rdp.c
index
5534307
..
163b871
100644
(file)
--- a/
src/e_mod_rdp.c
+++ b/
src/e_mod_rdp.c
@@
-2329,6
+2329,11
@@
e_rdp_output_create(void)
EINA_SAFETY_ON_NULL_RETURN_VAL(output, NULL);
output->primary_output = e_output_find_by_index(0);
+ if (output->primary_output == NULL)
+ {
+ E_FREE(output);
+ return NULL;
+ }
EINA_LIST_FOREACH(output->primary_output->info.modes, l, emode)
{