Added code to free config memory at application exit.

This commit is contained in:
mjbudd77 2021-02-21 11:06:48 -05:00
parent c107de92cd
commit 29e4825d12
1 changed files with 5 additions and 0 deletions

View File

@ -872,6 +872,11 @@ int fceuWrapperMemoryCleanup(void)
close_nes_shm();
if ( g_config )
{
delete g_config; g_config = NULL;
}
return 0;
}