mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-17 01:44:05 +09:00
fix: playtaud not freeing cuePtr
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user