Effects is allocated, but not freed anywhere. Signed-off-by: Jari Vanhala <ext-jari.vanhala@xxxxxxxxx> --- drivers/input/ff-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/input/ff-core.c b/drivers/input/ff-core.c index 3d7816c..d310a97 100644 --- a/drivers/input/ff-core.c +++ b/drivers/input/ff-core.c @@ -367,6 +367,7 @@ void input_ff_destroy(struct input_dev *dev) if (dev->ff->destroy) dev->ff->destroy(dev->ff); kfree(dev->ff->private); + kfree(dev->ff->effects); kfree(dev->ff); dev->ff = NULL; } -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html