} if (elm->trempitch) { free(elm->trempitch); elm->trempitch = NULL; } if (elm->tremfc) { free(elm->tremfc); elm->tremfc = NULL; } if (elm->modpitch) { free(elm->modpitch); elm->modpitch = NULL; } if (elm->modfc) { free(elm->modfc); elm->modfc = NULL; 
void free_tone_bank_element(int dr, int bk, int prog){	ToneBank **bank = (dr) ? drumset : tonebank;	ToneBankElement *elm = &bank[bk]->tone[prog];	int i;		if (elm->name) {		free(elm->name);		elm->name = NULL;	}	if (elm->comment) {		free(elm->comment);		elm->comment = NULL;	}	if (elm->tune) {		free(elm->tune);		elm->tune = NULL;	}	if (elm->fc) {		free(elm->fc);		elm->fc = NULL;	}	if (elm->reso) {		free(elm->reso);		elm->reso = NULL;	}	if (elm->envratenum) {		free_ptr_list(elm->envrate, elm->envratenum);		elm->envrate = NULL;		elm->envratenum = 0;	}	if (elm->envofsnum) {		free_ptr_list(elm->envofs, elm->envofsnum);		elm->envofs = NULL;		elm->envofsnum = 0;	}	if (elm->modenvratenum) {		free_ptr_list(elm->modenvrate, elm->modenvratenum);		elm->modenvrate = NULL;		elm->modenvratenum = 0;	}	if (elm->modenvofsnum) {		free_ptr_list(elm->modenvofs, elm->modenvofsnum);		elm->modenvofs = NULL;		elm->modenvofsnum = 0;	}	if (elm->tremnum) {		free_ptr_list(elm->trem, elm->tremnum);		elm->trem = NULL;		elm->tremnum = 0;	}	if (elm->vibnum) {		free_ptr_list(elm->vib, elm->vibnum);		elm->vib = NULL;		elm->vibnum = 0;	}	elm->instype = 0;}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/f332ba1301265b521aa88b15408e241128a9d293/playmidi.c/clean/timidity/playmidi.c