notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd8f20
)
input: fix a leak
author
notaz
<notasas@gmail.com>
Mon, 28 Aug 2023 20:30:40 +0000
(23:30 +0300)
committer
notaz
<notasas@gmail.com>
Mon, 28 Aug 2023 20:33:07 +0000
(23:33 +0300)
linux/in_evdev.c
patch
|
blob
|
blame
|
history
diff --git
a/linux/in_evdev.c
b/linux/in_evdev.c
index
ff714ce
..
e046fa6
100644
(file)
--- a/
linux/in_evdev.c
+++ b/
linux/in_evdev.c
@@
-259,6
+259,7
@@
static void in_evdev_probe(const in_drv_t *drv)
no_abs:
if (count == 0 && !have_abs) {
+ free(dev->kbits);
free(dev);
goto skip;
}