mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
fix a MEM_VECTOR_CLEAR to be done AFTER clearing the contents...
This commit is contained in:
parent
483ce89d78
commit
9eede6d303
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -177,7 +177,7 @@ void ir_builder_delete(ir_builder* self)
|
|||
for (i = 0; i != self->globals_count; ++i) {
|
||||
ir_value_delete(self->globals[i]);
|
||||
}
|
||||
MEM_VECTOR_CLEAR(self, fields);
|
||||
MEM_VECTOR_CLEAR(self, globals);
|
||||
for (i = 0; i != self->fields_count; ++i) {
|
||||
ir_value_delete(self->fields[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue