if( beep_dbdma_cmd_space ) kfree(beep_dbdma_cmd_space) ; 
kfree(beep_dbdma_cmd_space) ; 
__init setup_beep(void){	/* Initialize beep stuff */	/* want one cmd buffer for beeps, and a second one for emergencies	   - i.e. dbdma error conditions.	   ask for three to allow for pull up in DBDMA_ALIGN().	*/	beep_dbdma_cmd_space =		kmalloc((2 + 1) * sizeof(struct dbdma_cmd), GFP_KERNEL);	if(beep_dbdma_cmd_space == NULL) {		printk(KERN_ERR "dmasound_pmac: no beep dbdma cmd space\n") ;		return -ENOMEM ;	}	beep_dbdma_cmd = (volatile struct dbdma_cmd *)			DBDMA_ALIGN(beep_dbdma_cmd_space);	/* set up emergency dbdma cmd */	emergency_dbdma_cmd = beep_dbdma_cmd+1 ;	beep_buf = (short *) kmalloc(BEEP_BUFLEN * 4, GFP_KERNEL);	if (beep_buf == NULL) {		printk(KERN_ERR "dmasound_pmac: no memory for beep buffer\n");		if( beep_dbdma_cmd_space ) kfree(beep_dbdma_cmd_space) ;		return -ENOMEM ;	}	return 0 ;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/09417379be9b126e10ae7dcd7afc20b666146266/dmasound_awacs.c/clean/sound/oss/dmasound/dmasound_awacs.c