mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +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");
|
debug (0, "free_operand: double free");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (op->op_type == op_alias)
|
||||||
|
free_operand (op->o.alias);
|
||||||
op->next = free_operands;
|
op->next = free_operands;
|
||||||
free_operands = op;
|
free_operands = op;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue