Fix double-free in GME when using MSX Audio.

CQTexperiment
Chris Moeller 2016-09-16 02:48:10 -07:00
parent 096e68531c
commit a2e5d1da4f
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ Opl_Apu::~Opl_Apu()
case type_msxaudio: case type_msxaudio:
y8950_shutdown( opl ); y8950_shutdown( opl );
free( opl_memory ); //free( opl_memory ); // y8950_shutdown frees deltat->memory
//fclose( logfile ); //fclose( logfile );
break; break;
@ -281,4 +281,4 @@ void Opl_Apu::run_until( blip_time_t end_time )
} }
next_time = time; next_time = time;
} }
} }