Fix double-free in GME when using MSX Audio.
parent
096e68531c
commit
a2e5d1da4f
|
@ -76,7 +76,7 @@ Opl_Apu::~Opl_Apu()
|
|||
|
||||
case type_msxaudio:
|
||||
y8950_shutdown( opl );
|
||||
free( opl_memory );
|
||||
//free( opl_memory ); // y8950_shutdown frees deltat->memory
|
||||
//fclose( logfile );
|
||||
break;
|
||||
|
||||
|
@ -281,4 +281,4 @@ void Opl_Apu::run_until( blip_time_t end_time )
|
|||
}
|
||||
next_time = time;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue