projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39de521
)
Input: ps2mult - fix wrong kfree in ps2mult_connect error path
author
Axel Lin
<axel.lin@gmail.com>
Mon, 22 Nov 2010 06:23:06 +0000
(22:23 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 22 Nov 2010 06:32:09 +0000
(22:32 -0800)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/ps2mult.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/serio/ps2mult.c
b/drivers/input/serio/ps2mult.c
index 6bce22e4e495d64d750fbf66d6c1b011e077bc64..15aa81c9f1fb0215d1552bd36d22c5adf10d62c4 100644
(file)
--- a/
drivers/input/serio/ps2mult.c
+++ b/
drivers/input/serio/ps2mult.c
@@
-207,7
+207,7
@@
static int ps2mult_connect(struct serio *serio, struct serio_driver *drv)
err_out:
while (--i >= 0)
kfree(psm->ports[i].serio);
- kfree(
serio
);
+ kfree(
psm
);
return error;
}