#48500 [Opn->Asn]: mysqli::init() memory leaks

From: Date: Mon, 08 Jun 2009 20:04:03 +0000
Subject: #48500 [Opn->Asn]: mysqli::init() memory leaks
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-138115@lists.php.net to get a copy of this message
ID: 48500 Updated by: felipe@php.net Reported By: felipe@php.net -Status: Open +Status: Assigned Bug Type: MySQLi related Operating System: Linux PHP Version: 5.2CVS-2009-06-08 (CVS) -Assigned To: +Assigned To: mysql New Comment: It's just reproduceable in 5.2. Previous Comments: ------------------------------------------------------------------------ [2009-06-08 20:03:19] felipe@php.net Description: ------------ See below: Reproduce code: --------------- $x = new mysqli; $x->init();$x->init(); Expected result: ---------------- No mem. leaks Actual result: -------------- [Mon Jun 8 16:59:13 2009] Script: '../bug.php' /home/felipe/dev/php5_2/ext/mysqli/mysqli_api.c(1102) : Freeing 0x09CAA2A0 (16 bytes), script=../bug.php /home/felipe/dev/php5_2/Zend/zend_alloc.c(2391) : Actual location (location was relayed) [Mon Jun 8 16:59:13 2009] Script: '../bug.php' /home/felipe/dev/php5_2/ext/mysqli/mysqli_api.c(1109) : Freeing 0x09CAB160 (12 bytes), script=../bug.php /home/felipe/dev/php5_2/Zend/zend_alloc.c(2391) : Actual location (location was relayed) === Total 2 memory leaks detected === ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48500&edit=1

« previous php.bugs (#138115) next »