[ST-V] Fixed a double-free crash on the MESS side.

This commit is contained in:
R. Belmont 2008-01-20 01:02:28 +00:00
parent 4696730bc8
commit d72fe28729

View file

@ -1560,7 +1560,9 @@ void stvcd_exit(running_machine* machine)
if (cdrom)
{
#ifndef MESS
cdrom_close(cdrom);
#endif
cdrom = (cdrom_file *)NULL;
}
}