mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +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)
|
if (cdrom)
|
||||||
{
|
{
|
||||||
|
#ifndef MESS
|
||||||
cdrom_close(cdrom);
|
cdrom_close(cdrom);
|
||||||
|
#endif
|
||||||
cdrom = (cdrom_file *)NULL;
|
cdrom = (cdrom_file *)NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user