projects
/
platform
/
core
/
uifw
/
pepper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394d97b
)
desktop-shell: check a null reference
95/148295/1
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 7 Sep 2017 10:08:14 +0000
(19:08 +0900)
committer
JengHyun Kang
<jhyuni.kang@samsung.com>
Thu, 7 Sep 2017 10:08:14 +0000
(19:08 +0900)
Change-Id: Iaf430c4561fcad2447598680bdd4e722a0ea0450
src/lib/desktop-shell/shell.c
patch
|
blob
|
history
diff --git
a/src/lib/desktop-shell/shell.c
b/src/lib/desktop-shell/shell.c
index 33301a26b7a666fe27628290e27170297b2bcfa2..888d94ddba73826e00d42618c0270aae095cf8d6 100644
(file)
--- a/
src/lib/desktop-shell/shell.c
+++ b/
src/lib/desktop-shell/shell.c
@@
-119,7
+119,7
@@
shell_add_input_device(desktop_shell_t *shell, pepper_input_device_t *device)
}
seat = pepper_compositor_add_seat(shell->compositor, target_seat_name);
- pepper_seat_add_input_device(seat, device);
+
if (seat)
pepper_seat_add_input_device(seat, device);
}
static void