staging: sbe-2t3e3: Fix possible reuse of freed memory in timer function
authorKirill Tkhai <tkhai@yandex.ru>
Mon, 10 Feb 2014 18:40:11 +0000 (22:40 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2014 20:43:44 +0000 (12:43 -0800)
commit81291dd9484dd16e795ab4a69d16b401b2aa5821
tree96fff9d5b4e622745f27b4d659798d94999f4a03
parentf578b5d33ee721461921c8e79e5f8b309b2e604d
staging: sbe-2t3e3: Fix possible reuse of freed memory in timer function

Do not call kfree() till timer function is finished.

[This was found using grep. Compilation tested only]

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
CC: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sbe-2t3e3/module.c