- fixed allocation mismatch in WildMidi.

This commit is contained in:
Christoph Oelckers 2019-04-19 17:46:25 +02:00
parent 94e222afef
commit f221a2bdb4

View file

@ -2105,7 +2105,7 @@ static void freeMDI(struct _mdi *mdi) {
free(mdi->tmp_info);
_WM_free_reverb(mdi->reverb);
free(mdi->mix_buffer);
free(mdi);
delete mdi;
}
static int *WM_Mix_Linear(midi * handle, int * buffer, unsigned long int count)