mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
01963: screenless systems: memory leak with -mngwrite
This commit is contained in:
parent
40ab9d6244
commit
161b2a86e8
@ -404,11 +404,8 @@ static void video_exit(running_machine *machine)
|
||||
assert(machine->config != NULL);
|
||||
|
||||
/* stop recording any movie */
|
||||
if (machine->primary_screen != NULL)
|
||||
{
|
||||
video_mng_end_recording(machine);
|
||||
video_avi_end_recording(machine);
|
||||
}
|
||||
video_mng_end_recording(machine);
|
||||
video_avi_end_recording(machine);
|
||||
|
||||
/* free all the graphics elements */
|
||||
for (i = 0; i < MAX_GFX_ELEMENTS; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user