projects
/
platform
/
core
/
uifw
/
libpepper-efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4e6418
)
input: check validation before destroy pepper_xkb
59/241259/2
author
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 12 Aug 2020 10:53:15 +0000
(19:53 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 19 Aug 2020 16:45:12 +0000
(
01:45
+0900)
Change-Id: I7ad4ca89926d0b080fd36527bebe3d2e190ace12
src/lib/input.c
patch
|
blob
|
history
diff --git
a/src/lib/input.c
b/src/lib/input.c
index 2dd4281b43db8b191434f5b23a74240227963bc8..866430dfaa95e1800722d545dea750b383f1c5a3 100644
(file)
--- a/
src/lib/input.c
+++ b/
src/lib/input.c
@@
-119,7
+119,8
@@
pepper_efl_input_destroy(pepper_efl_input_t *input)
EINA_LIST_FREE(input->handlers, hdl)
ecore_event_handler_del(hdl);
- pepper_xkb_destroy(input->xkb);
+ if (input->xkb)
+ pepper_xkb_destroy(input->xkb);
pepper_seat_remove_input_device(input->seat, input->device);
pepper_input_device_destroy(input->device);