staging: frontier: fix memory leak in usb_alphatrack_probe()
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 7 Mar 2014 08:25:55 +0000 (17:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 06:39:40 +0000 (22:39 -0800)
commit95ad0724738c30e47f35d37d4dcf1c4cce4e94c5
tree6c6639c5ae7e8eec04bb17d87a3cdbe832dab175
parent61b0f7e5b51e5b1f3625e110092d1b89627333b0
staging: frontier: fix memory leak in usb_alphatrack_probe()

oldi_buffer and write_buffer need to free when usb_alphatrack_delete()
is called.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/frontier/alphatrack.c