Input: ALPS - fix memory leak when detection fails
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Feb 2015 23:49:51 +0000 (15:49 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Mar 2015 23:17:08 +0000 (15:17 -0800)
commit93050db2065726c7fd0db1b9a53311a74eee94c3
tree5e755e9ec4a94d8fc5b78c5f9078748f896a9e58
parent4a6155a465650e8a3c7ae4e23b580ad9b84908aa
Input: ALPS - fix memory leak when detection fails

This fixes memory leak introduced by commit
a09221e83e13e09a33109b9b037484eade901cea

Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c