if (info->buffer != NULL) kfree(info->buffer); if (info->toc != NULL) kfree(info->toc); if (info->changer_info != NULL) kfree(info->changer_info); 
kfree(info->buffer); kfree(info->toc); kfree(info->changer_info); 
static void ide_cd_release(struct kref *kref){	struct cdrom_info *info = to_ide_cd(kref);	struct cdrom_device_info *devinfo = &info->devinfo;	ide_drive_t *drive = info->drive;	struct gendisk *g = info->disk;	if (info->buffer != NULL)		kfree(info->buffer);	if (info->toc != NULL)		kfree(info->toc);	if (info->changer_info != NULL)		kfree(info->changer_info);	if (devinfo->handle == drive && unregister_cdrom(devinfo))		printk(KERN_ERR "%s: %s failed to unregister device from the cdrom "				"driver.\n", __FUNCTION__, drive->name);	drive->dsc_overlap = 0;	drive->driver_data = NULL;	blk_queue_prep_rq(drive->queue, NULL);	g->private_data = NULL;	put_disk(g);	kfree(info);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6044ec8882c726e325017bd948aa0cd94ad33abc/ide-cd.c/clean/drivers/ide/ide-cd.c