fix: playtaud not freeing cuePtr

This commit is contained in:
minjaesong
2026-06-17 00:09:34 +09:00
parent c3702fb597
commit f617b17506

View File

@@ -206,6 +206,7 @@ function parseTaud(path, songIndex) {
// HALT terminates traversal — anything past it is unreachable. // HALT terminates traversal — anything past it is unreachable.
if (i30 === CUE_HALT) break if (i30 === CUE_HALT) break
} }
sys.free(cuePtr)
if (lastCue < 0) lastCue = 0 if (lastCue < 0) lastCue = 0
// Decode an 0x1E-separated name table into a 256-slot array. Names in the // Decode an 0x1E-separated name table into a 256-slot array. Names in the