Bug #72911 [Opn->Csd]: Memleak in zend_binary_assign_op_obj_helper
| From: | laruence@php.net | Date: | Sun, 21 Aug 2016 09:44:39 +0000 |
| Subject: | Bug #72911 [Opn->Csd]: Memleak in zend_binary_assign_op_obj_helper | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203445@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72911&edit=1
ID: 72911
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: Memleak in zend_binary_assign_op_obj_helper
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
PHP Version: 7.0.10
-Assigned To:
+Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
fixed in https://github.com/php/php-src/commit/0476bb1de54896b6c062125f22318533998ce94a
Previous Comments:
------------------------------------------------------------------------
[2016-08-21 09:36:09] laruence@php.net
Description:
------------
none
Test script:
---------------
<?php
$a = 0;
$b = $a->b->i -= 0;
var_dump($b);
?>
Expected result:
----------------
none memleak
Actual result:
--------------
[Sun Aug 21 17:33:47 2016] Script: '/tmp/1.php'
/home/huixinchen/opensource/php-7.0/Zend/zend_objects.c(162) : Freeing 0x7FFFF0880050 (40 bytes),
script=/tmp/1.php
=== Total 1 memory leaks detected ===
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72911&edit=1