Added code to free config memory at application exit.
This commit is contained in:
parent
c107de92cd
commit
29e4825d12
|
@ -872,6 +872,11 @@ int fceuWrapperMemoryCleanup(void)
|
||||||
|
|
||||||
close_nes_shm();
|
close_nes_shm();
|
||||||
|
|
||||||
|
if ( g_config )
|
||||||
|
{
|
||||||
|
delete g_config; g_config = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue