projects
/
platform
/
core
/
uifw
/
headless-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e55b7
)
shell: fix only to access when shell is not NULL
15/266615/1
accepted/tizen/unified/20211129.092905
submit/tizen/20210604.071014
submit/tizen/20211129.081032
author
Sung-Jin Park
<sj76.park@samsung.com>
Wed, 9 Jun 2021 04:29:44 +0000
(13:29 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Wed, 9 Jun 2021 04:41:56 +0000
(13:41 +0900)
Change-Id: I6116da03f55016df6c5f7271a39497e7ec2bc84c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/shell/shell.c
patch
|
blob
|
history
diff --git
a/src/shell/shell.c
b/src/shell/shell.c
index
15ad31b
..
018f9f1
100644
(file)
--- a/
src/shell/shell.c
+++ b/
src/shell/shell.c
@@
-977,7
+977,8
@@
tizen_policy_cb_unbind(struct wl_resource *resource)
{
headless_shell_t *shell = (headless_shell_t *)wl_resource_get_user_data(resource);
- shell->tizen_policy = NULL;
+ if (shell)
+ shell->tizen_policy = NULL;
}
static void