if (ztv->fbuffer) bfree( ztv->fbuffer, ZORAN_MAX_FBUFSIZE ); 
bfree(ztv->fbuffer, ZORAN_MAX_FBUFSIZE); 
void zoran_close(struct video_device* dev){	struct zoran *ztv = (struct zoran*)dev;	DEBUG(printk(CARD_DEBUG "close(dev)\n",CARD));	/* driver specific closure */	clear_bit(STATE_OVERLAY, &ztv->state);	zoran_common_close(ztv);        /*         *      This is sucky but right now I can't find a good way to         *      be sure its safe to free the buffer. We wait 5-6 fields         *      which is more than sufficient to be sure.         */        msleep(100);			/* Wait 1/10th of a second */	/* free the allocated framebuffer */	if (ztv->fbuffer)		bfree( ztv->fbuffer, ZORAN_MAX_FBUFSIZE );	ztv->fbuffer = 0;	if (ztv->overinfo.overlay)		kfree( ztv->overinfo.overlay );	ztv->overinfo.overlay = 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f9101210e7aa72daf92722d451a2f7e3af5f781f/zr36120.c/clean/drivers/media/video/zr36120.c