if (ha->conf) { kfree(ha->conf); ha->conf = NULL; } 
kfree(ha->conf); ha->conf = NULL; 
ips_free(ips_ha_t * ha){	METHOD_TRACE("ips_free", 1);	if (ha) {		if (ha->enq) {			pci_free_consistent(ha->pcidev, sizeof(IPS_ENQ),					    ha->enq, ha->enq_busaddr);			ha->enq = NULL;		}		if (ha->conf) {			kfree(ha->conf);			ha->conf = NULL;		}		if (ha->adapt) {			pci_free_consistent(ha->pcidev,					    sizeof (IPS_ADAPTER) +					    sizeof (IPS_IO_CMD), ha->adapt,					    ha->adapt->hw_status_start);			ha->adapt = NULL;		}		if (ha->logical_drive_info) {			pci_free_consistent(ha->pcidev,					    sizeof (IPS_LD_INFO),					    ha->logical_drive_info,					    ha->logical_drive_info_dma_addr);			ha->logical_drive_info = NULL;		}		if (ha->nvram) {			kfree(ha->nvram);			ha->nvram = NULL;		}		if (ha->subsys) {			kfree(ha->subsys);			ha->subsys = NULL;		}		if (ha->ioctl_data) {			pci_free_consistent(ha->pcidev, ha->ioctl_len,					    ha->ioctl_data, ha->ioctl_busaddr);			ha->ioctl_data = NULL;			ha->ioctl_datasize = 0;			ha->ioctl_len = 0;		}		ips_deallocatescbs(ha, ha->max_cmds);		/* free memory mapped (if applicable) */		if (ha->mem_ptr) {			iounmap(ha->ioremap_ptr);			ha->ioremap_ptr = NULL;			ha->mem_ptr = NULL;		}		if (ha->mem_addr)			release_mem_region(ha->mem_addr, ha->mem_len);		ha->mem_addr = 0;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c9475cb0c358ff0dd473544280d92482df491913/ips.c/buggy/drivers/scsi/ips.c