if (tmp1) kfree(tmp1); if (tmp2) kfree(tmp2);  
kfree(tmp1); kfree(tmp2); 
static int sb_equal(mdp_super_t *sb1, mdp_super_t *sb2){	int ret;	mdp_super_t *tmp1, *tmp2;	tmp1 = kmalloc(sizeof(*tmp1),GFP_KERNEL);	tmp2 = kmalloc(sizeof(*tmp2),GFP_KERNEL);	if (!tmp1 || !tmp2) {		ret = 0;		printk(KERN_INFO "md.c: sb1 is not equal to sb2!\n");		goto abort;	}	*tmp1 = *sb1;	*tmp2 = *sb2;	/*	 * nr_disks is not constant	 */	tmp1->nr_disks = 0;	tmp2->nr_disks = 0;	if (memcmp(tmp1, tmp2, MD_SB_GENERIC_CONSTANT_WORDS * 4))		ret = 0;	else		ret = 1;abort:	if (tmp1)		kfree(tmp1);	if (tmp2)		kfree(tmp2);	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/990a8baf568ca1d0ae65e59783ff821794118d07/md.c/buggy/drivers/md/md.c