Corrected a bug where ref to freed memory was kept

When changing instrument the unknown opcodes should be clear as they
are string views and not strings.
This commit is contained in:
Paul Ferrand 2019-12-17 21:25:19 +01:00
parent 6c2f5b5ecb
commit 393984e3f3

View file

@ -142,6 +142,7 @@ void sfz::Synth::clear()
globalOpcodes.clear();
masterOpcodes.clear();
groupOpcodes.clear();
unknownOpcodes.clear();
}
void sfz::Synth::handleGlobalOpcodes(const std::vector<Opcode>& members)