mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
[ST-V] Fixed a double-free crash on the MESS side.
This commit is contained in:
parent
4696730bc8
commit
d72fe28729
1 changed files with 2 additions and 0 deletions
|
@ -1560,7 +1560,9 @@ void stvcd_exit(running_machine* machine)
|
|||
|
||||
if (cdrom)
|
||||
{
|
||||
#ifndef MESS
|
||||
cdrom_close(cdrom);
|
||||
#endif
|
||||
cdrom = (cdrom_file *)NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue