Bug #73950 [Opn->Dup]: memory leaks detected
| From: | requinix@php.net | Date: | Mon, 16 Jan 2017 16:27:00 +0000 |
| Subject: | Bug #73950 [Opn->Dup]: memory leaks detected | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206685@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73950&edit=1
ID: 73950
Updated by: requinix@php.net
Reported by: shan dot liu at msn dot com
Summary: memory leaks detected
-Status: Open
+Status: Duplicate
Type: Bug
Package: MySQLi related
PHP Version: 7.1.0
Block user comment: N
Private report: N
New Comment:
#73949 submitted twice
Previous Comments:
------------------------------------------------------------------------
[2017-01-16 16:23:54] shan dot liu at msn dot com
Description:
------------
[Tue Jan 17 00:15:57 2017] Script: '/home/lonely/workspace/ldb/dome/t.php'
/opt/php7/src/Zend/zend_string.h(0) : Freeing 0x7FA2B387B2C0 (32 bytes),
script=/home/lonely/workspace/ldb/dome/t.php
=== Total 1 memory leaks detected ===
Test script:
---------------
<?php
class cc{
function __construct($c=null){
}
};
$i=mysqli_connect("127.0.0.1",'root','110','test_db');
$res=mysqli_query($i,'select * from l_order limit 1');
$t=array('-');
while($db= mysqli_fetch_object($res,'cc',$t)){}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73950&edit=1