提交 7bfc9ca7 编写于 作者: M Marek Belisko 提交者: Greg Kroah-Hartman

staging: ft1000: Fix memory leak when polling fail.

Signed-off-by: NMarek Belisko <marek.belisko@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 5cb9954a
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册