if (ov->sbuf[i].data) { kfree(ov->sbuf[i].data); ov->sbuf[i].data = NULL; } 
kfree(ov->sbuf[i].data); ov->sbuf[i].data = NULL; 
ov51x_do_dealloc(struct usb_ov511 *ov){	int i;	PDEBUG(4, "entered");	if (ov->fbuf) {		rvfree(ov->fbuf, OV511_NUMFRAMES		       * MAX_DATA_SIZE(ov->maxwidth, ov->maxheight));		ov->fbuf = NULL;	}	vfree(ov->rawfbuf);	ov->rawfbuf = NULL;	vfree(ov->tempfbuf);	ov->tempfbuf = NULL;	for (i = 0; i < OV511_NUMSBUF; i++) {		if (ov->sbuf[i].data) {			kfree(ov->sbuf[i].data);			ov->sbuf[i].data = NULL;		}	}	for (i = 0; i < OV511_NUMFRAMES; i++) {		ov->frame[i].data = NULL;		ov->frame[i].rawdata = NULL;		ov->frame[i].tempdata = NULL;		if (ov->frame[i].compbuf) {			free_page((unsigned long) ov->frame[i].compbuf);			ov->frame[i].compbuf = NULL;		}	}	PDEBUG(4, "buffer memory deallocated");	ov->buf_state = BUF_NOT_ALLOCATED;	PDEBUG(4, "leaving");}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/1bc3c9e1e44c2059fe2ffa6ff70ad0a925d7b05f/ov511.c/buggy/drivers/usb/media/ov511.c