mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-05-28 17:41:37 +00:00
Avoid a potential memory leak if RamWorks memory size were configurable. (PR #1225)
This commit is contained in:
parent
4b18918e0f
commit
771282a792
|
@ -1296,7 +1296,7 @@ void MemDestroy()
|
||||||
delete [] pCxRomPeripheral;
|
delete [] pCxRomPeripheral;
|
||||||
|
|
||||||
#ifdef RAMWORKS
|
#ifdef RAMWORKS
|
||||||
for (UINT i=1; i<g_uMaxExPages; i++)
|
for (UINT i=1; i<kMaxExMemoryBanks; i++)
|
||||||
{
|
{
|
||||||
if (RWpages[i])
|
if (RWpages[i])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user