From a7d8f1b79e14d219e37de0e1cd00fce906fa0717 Mon Sep 17 00:00:00 2001 From: dinkc64 Date: Sat, 26 Oct 2024 09:16:07 -0400 Subject: [PATCH] romdata bug, fix --- src/burner/win32/romdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/burner/win32/romdata.cpp b/src/burner/win32/romdata.cpp index bbce77f68f..e14b659d81 100644 --- a/src/burner/win32/romdata.cpp +++ b/src/burner/win32/romdata.cpp @@ -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);