From: [email protected] Operating system: Linux PHP version: 5.2CVS-2009-06-08 (CVS) PHP Bug Type: MySQLi related Bug description: mysqli::init() memory leaks
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 bug report at http://bugs.php.net/?id=48500&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48500&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48500&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48500&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48500&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48500&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48500&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48500&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48500&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48500&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48500&r=support Expected behavior: http://bugs.php.net/fix.php?id=48500&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48500&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48500&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48500&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48500&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48500&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48500&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48500&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48500&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48500&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48500&r=mysqlcfg
