mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-08 02:12:17 +00:00
Ensure alias operands are properly freed.
This commit is contained in:
parent
9f409b1ac4
commit
5051c922a5
1 changed files with 2 additions and 0 deletions
|
@ -310,6 +310,8 @@ free_operand (operand_t *op)
|
|||
debug (0, "free_operand: double free");
|
||||
return;
|
||||
}
|
||||
if (op->op_type == op_alias)
|
||||
free_operand (op->o.alias);
|
||||
op->next = free_operands;
|
||||
free_operands = op;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue