ID: 48500 Updated by: scott...@php.net Reported By: fel...@php.net -Status: Assigned +Status: Closed Bug Type: MySQLi related Operating System: Linux PHP Version: 5.2CVS-2009-06-08 (CVS) Assigned To: mysql New Comment:
It's related to bug #46019 I've backported this to 5.2. Previous Comments: ------------------------------------------------------------------------ [2009-06-08 20:04:03] fel...@php.net It's just reproduceable in 5.2. ------------------------------------------------------------------------ [2009-06-08 20:03:19] fel...@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