fixed dangling pointer issue

This commit is contained in:
troglodyte9 2026-03-13 16:30:54 +02:00
parent 379434097a
commit 146a6eadd1

View file

@ -66,7 +66,7 @@ void ConsoleSaveFileOutputStream::write(byteArray b)
BOOL result = m_saveFile->writeFile(
m_file,
&b.data, // data buffer
b.data, // data buffer
b.length, // number of bytes to write
&numberOfBytesWritten // number of bytes written
);