- fixed allocation mismatch in WildMidi.

This commit is contained in:
Christoph Oelckers 2019-04-19 17:46:25 +02:00 committed by drfrag
parent 8bb4457a62
commit 9ef338282d

View file

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