From 66d908f39bc2f1543e5fa9cd8dc3111686b48ce3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sun, 1 Feb 2015 11:49:46 +0100 Subject: [PATCH] ir_instr_delete_quick needs to clear _m_ops --- ir.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.2