mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
This is to fix the memory leak in ledutil.c
Thanks HeadKaze
This commit is contained in:
parent
750a8cfa3e
commit
233ab77ab4
@ -413,6 +413,7 @@ static void reset_id_to_outname_cache(void)
|
||||
{
|
||||
id_map_entry *temp = idmaplist;
|
||||
idmaplist = temp->next;
|
||||
free((void*)temp->name);
|
||||
free(temp);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user