From: Wolfgang Bumiller Date: Sun, 1 Feb 2015 10:49:46 +0000 (+0100) Subject: ir_instr_delete_quick needs to clear _m_ops X-Git-Tag: xonotic-v0.8.2~14 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=66d908f39bc2f1543e5fa9cd8dc3111686b48ce3;p=xonotic%2Fgmqcc.git ir_instr_delete_quick needs to clear _m_ops --- diff --git a/ir.cpp b/ir.cpp index ba4ed64..044b834 100644 --- a/ir.cpp +++ b/ir.cpp @@ -792,6 +792,9 @@ static void ir_instr_delete_quick(ir_instr *self) { self->m_phi.clear(); self->m_params.clear(); + self->_m_ops[0] = nullptr; + self->_m_ops[1] = nullptr; + self->_m_ops[2] = nullptr; delete self; }