mirror of
https://github.com/holub/mame
synced 2025-06-05 12:26:35 +03:00
[ST-V] Fixed a double-free crash on the MESS side.
This commit is contained in:
parent
4696730bc8
commit
d72fe28729
@ -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 New Issue
Block a user