projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dac4a1
)
Revert "ANDROID: input: keychord: Fix for a memory leak in keychord."
author
Mark Salyzyn
<salyzyn@google.com>
Wed, 9 May 2018 19:17:36 +0000
(12:17 -0700)
committer
Mark Salyzyn
<salyzyn@google.com>
Fri, 29 Mar 2019 22:33:04 +0000
(15:33 -0700)
This reverts commit
29be5c0c2ef587e7958ef16cc8357e8880e92cd9
.
Remove keychord driver, replaced in user space by
https://android-review.googlesource.com/c/677629.
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug:
64114943
Bug:
64483974
Bug:
129556081
Change-Id: I4191a02aa70f3c4eb517b9a0ec092380b90130b4
drivers/input/misc/keychord.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/misc/keychord.c
b/drivers/input/misc/keychord.c
index 791f285b0c1397afc4dd05c3290385dcc5ea0492..d679360ded560548b0f3f84f5b60f79a08b08e02 100644
(file)
--- a/
drivers/input/misc/keychord.c
+++ b/
drivers/input/misc/keychord.c
@@
-432,7
+432,6
@@
static int keychord_release(struct inode *inode, struct file *file)
if (kdev->registered)
input_unregister_handler(&kdev->input_handler);
- kfree(kdev->keychords);
kfree(kdev);
return 0;