mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-24 20:21:38 +00:00
ir_instr_delete_quick needs to clear _m_ops
This commit is contained in:
parent
45236a644f
commit
66d908f39b
1 changed files with 3 additions and 0 deletions
3
ir.cpp
3
ir.cpp
|
@ -792,6 +792,9 @@ static void ir_instr_delete_quick(ir_instr *self)
|
||||||
{
|
{
|
||||||
self->m_phi.clear();
|
self->m_phi.clear();
|
||||||
self->m_params.clear();
|
self->m_params.clear();
|
||||||
|
self->_m_ops[0] = nullptr;
|
||||||
|
self->_m_ops[1] = nullptr;
|
||||||
|
self->_m_ops[2] = nullptr;
|
||||||
delete self;
|
delete self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue