projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b43a2d5
)
elput: unref devices in post event cb
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 28 Jul 2017 19:44:43 +0000
(15:44 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 28 Jul 2017 19:40:47 +0000
(15:40 -0400)
@fix
src/lib/elput/elput_input.c
patch
|
blob
|
history
diff --git
a/src/lib/elput/elput_input.c
b/src/lib/elput/elput_input.c
index
4210aed
..
9024611
100644
(file)
--- a/
src/lib/elput/elput_input.c
+++ b/
src/lib/elput/elput_input.c
@@
-166,6
+166,7
@@
_device_event_cb_free(void *data EINA_UNUSED, void *event)
ev = event;
+ ev->device->refs--;
if (ev->type == ELPUT_DEVICE_REMOVED)
{
Elput_Seat *seat;
@@
-174,7
+175,6
@@
_device_event_cb_free(void *data EINA_UNUSED, void *event)
if (seat)
seat->devices = eina_list_remove(seat->devices, ev->device);
- ev->device->refs--;
_evdev_device_destroy(ev->device);
}