romdata bug, fix

This commit is contained in:
dinkc64 2024-10-26 09:16:07 -04:00
parent e6cd361a39
commit a7d8f1b79e

View File

@ -406,7 +406,7 @@ void RomDataExit()
if (NULL != pDataRomDesc) {
for (int i = 0; i < RDI.nDescCount + 1; i++) {
free(pDataRomDesc[RDI.nDescCount].szName);
free(pDataRomDesc[i].szName);
}
free(pDataRomDesc);