if (saa->dmavid2) kfree((void *) saa->dmavid2); 
kfree(saa->dmavid2); 
static void release_saa(void){	u8 command;	int i;	struct saa7146 *saa;	for (i = 0; i < saa_num; i++) {		saa = &saa7146s[i];		/* turn off all capturing, DMA and IRQs */		saawrite(0xffff0000, SAA7146_MC1);	/* reset chip */		saawrite(0, SAA7146_MC2);		saawrite(0, SAA7146_IER);		saawrite(0xffffffffUL, SAA7146_ISR);		/* disable PCI bus-mastering */		pci_read_config_byte(saa->dev, PCI_COMMAND, &command);		command &= ~PCI_COMMAND_MASTER;		pci_write_config_byte(saa->dev, PCI_COMMAND, command);		/* unmap and free memory */		saa->audhead = saa->audtail = saa->osdhead = 0;		saa->vidhead = saa->vidtail = saa->osdtail = 0;		vfree(saa->vidbuf);		vfree(saa->audbuf);		vfree(saa->osdbuf);		if (saa->dmavid2)			kfree((void *) saa->dmavid2);		saa->audbuf = saa->vidbuf = saa->osdbuf = NULL;		saa->dmavid2 = NULL;		if (saa->dmadebi)			kfree((void *) saa->dmadebi);		if (saa->dmavid1)			kfree((void *) saa->dmavid1);		if (saa->dmavid2)			kfree((void *) saa->dmavid2);		if (saa->dmavid3)			kfree((void *) saa->dmavid3);		if (saa->dmaa1in)			kfree((void *) saa->dmaa1in);		if (saa->dmaa1out)			kfree((void *) saa->dmaa1out);		if (saa->dmaa2in)			kfree((void *) saa->dmaa2in);		if (saa->dmaa2out)			kfree((void *) saa->dmaa2out);		if (saa->dmaRPS1)			kfree((void *) saa->dmaRPS1);		if (saa->dmaRPS2)			kfree((void *) saa->dmaRPS2);		free_irq(saa->irq, saa);		if (saa->saa7146_mem)			iounmap(saa->saa7146_mem);		if (saa->video_dev.minor != -1)			video_unregister_device(&saa->video_dev);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f9101210e7aa72daf92722d451a2f7e3af5f781f/stradis.c/buggy/drivers/media/video/stradis.c