Commit 7bfc9ca7 authored by Marek Belisko's avatar Marek Belisko Committed by Greg Kroah-Hartman
Browse files

staging: ft1000: Fix memory leak when polling fail.

parent 5cb9954a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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");