1
0
mirror of https://github.com/php/php-src.git synced 2026-04-10 17:43:13 +02:00

- Fix memory leak.

This commit is contained in:
Andi Gutmans
2000-07-09 20:21:20 +00:00
parent 1231a3e473
commit c1ed6ef9cc

View File

@@ -1933,7 +1933,7 @@ send_by_ref:
NEXT_OPCODE();
}
}
if (opline->op1.op_type == IS_TMP_VAR) { /* temporary variable */
if (!opline->extended_value && EG(free_op1)) { /* temporary variable */
zval *new_expr;
ALLOC_ZVAL(new_expr);