mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
WavWriter::finalize didn't check that m_file was actually valid before trying to seek and close it. The file is only set by set_file, so it's not an invariant. Just add a null guard to finalize().