if (ucpia->sbuf[1].data) { kfree(ucpia->sbuf[1].data); ucpia->sbuf[1].data = NULL; } 
kfree(ucpia->sbuf[1].data); ucpia->sbuf[1].data = NULL; 
static void cpia_usb_free_resources(struct usb_cpia *ucpia, int try){	if (!ucpia->streaming)		return;	ucpia->streaming = 0;	/* Set packet size to 0 */	if (try) {		int ret;		ret = usb_set_interface(ucpia->dev, ucpia->iface, 0);		if (ret < 0) {			printk(KERN_ERR "usb_set_interface error (ret = %d)\n", ret);			return;		}	}	/* Unschedule all of the iso td's */	if (ucpia->sbuf[1].urb) {		usb_kill_urb(ucpia->sbuf[1].urb);		usb_free_urb(ucpia->sbuf[1].urb);		ucpia->sbuf[1].urb = NULL;	}	if (ucpia->sbuf[1].data) {		kfree(ucpia->sbuf[1].data);		ucpia->sbuf[1].data = NULL;	} 	if (ucpia->sbuf[0].urb) {		usb_kill_urb(ucpia->sbuf[0].urb);		usb_free_urb(ucpia->sbuf[0].urb);		ucpia->sbuf[0].urb = NULL;	}	if (ucpia->sbuf[0].data) {		kfree(ucpia->sbuf[0].data);		ucpia->sbuf[0].data = NULL;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f9101210e7aa72daf92722d451a2f7e3af5f781f/cpia_usb.c/buggy/drivers/media/video/cpia_usb.c