fix(library/vm/vm): memory leak

This commit is contained in:
Leonardo de Moura 2016-08-01 18:10:18 -07:00
parent 219300e923
commit 5ffbc2f94e

View file

@ -484,6 +484,9 @@ vm_instr::~vm_instr() {
case opcode::CasesN: case opcode::BuiltinCases:
delete[] m_npcs;
break;
case opcode::QExpr:
delete m_expr;
break;
default:
break;
}