Browse Source

- Fix leak with useless statements such as "foo";

PHP-4.0.5
Andi Gutmans 25 years ago
parent
commit
43adbdcc72
  1. 4
      Zend/zend_compile.c

4
Zend/zend_compile.c

@ -699,7 +699,9 @@ void zend_do_free(znode *op1 CLS_DC)
opline--;
}
}
}
} else if (op1->op_type == IS_CONST) {
zval_dtor(&op1->u.constant);
}
}

Loading…
Cancel
Save