if (ucpia->buffers[2]) { vfree(ucpia->buffers[2]); ucpia->buffers[2] = NULL; } 
vfree(ucpia->buffers[2]); ucpia->buffers[2] = NULL; 
static void cpia_disconnect(struct usb_interface *intf){	struct cam_data *cam = usb_get_intfdata(intf);	struct usb_cpia *ucpia;	struct usb_device *udev;  	usb_set_intfdata(intf, NULL);	if (!cam)		return;	ucpia = (struct usb_cpia *) cam->lowlevel_data;	spin_lock( &cam_list_lock_usb );	list_del(&cam->cam_data_list);	spin_unlock( &cam_list_lock_usb );		ucpia->present = 0;	cpia_unregister_camera(cam);	if(ucpia->open)		cpia_usb_close(cam->lowlevel_data);	ucpia->curbuff->status = FRAME_ERROR;	if (waitqueue_active(&ucpia->wq_stream))		wake_up_interruptible(&ucpia->wq_stream);	udev = interface_to_usbdev(intf);	ucpia->curbuff = ucpia->workbuff = NULL;	if (ucpia->buffers[2]) {		vfree(ucpia->buffers[2]);		ucpia->buffers[2] = NULL;	}	if (ucpia->buffers[1]) {		vfree(ucpia->buffers[1]);		ucpia->buffers[1] = NULL;	}	if (ucpia->buffers[0]) {		vfree(ucpia->buffers[0]);		ucpia->buffers[0] = NULL;	}	cam->lowlevel_data = NULL;	kfree(ucpia);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f9101210e7aa72daf92722d451a2f7e3af5f781f/cpia_usb.c/buggy/drivers/media/video/cpia_usb.c