staging: slicoss: Fix possible reuse of freed memory in timer function
authorKirill Tkhai <tkhai@yandex.ru>
Mon, 10 Feb 2014 18:36:23 +0000 (22:36 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2014 20:37:27 +0000 (12:37 -0800)
commit161737a619961b1a5bfe9f32704245b686d30792
tree0912ee5605528a4366c855ba5e4cd5f9a0fc471b
parentaa6d5e4cde9cb530238807c487bd59c26ffcf8cb
staging: slicoss: Fix possible reuse of freed memory in timer function

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

[This was found using grep. Compiled tested only]

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