mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-31 16:26:41 +09:00
staging: ft1000: Fix memory leak when polling fail.
Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5cb9954a51
commit
7bfc9ca790
@@ -200,7 +200,8 @@ static int ft1000_probe(struct usb_interface *interface, const struct usb_device
|
||||
{
|
||||
kthread_stop(pft1000info->pPollThread );
|
||||
}
|
||||
return 0;
|
||||
ret = -EIO;
|
||||
goto err_load;
|
||||
}
|
||||
msleep(100);
|
||||
DEBUG("ft1000_probe::Waiting for Card Ready\n");
|
||||
|
||||
Reference in New Issue
Block a user