ID:               40883
 Updated by:       [EMAIL PROTECTED]
 Reported By:      edwin at aucs dot org
-Status:           Bogus
+Status:           Closed
 Bug Type:         MySQL related
 Operating System: WinXP
 PHP Version:      5.2.1
-Assigned To:      
+Assigned To:      dmitry
 New Comment:

The problem was in Zend Memory Manager, that cached small memory blocks
and didn't reuse cache on erealloc().

Fixed in CVS HEAD and PHP_5_2.


Previous Comments:
------------------------------------------------------------------------

[2007-03-21 16:26:25] [EMAIL PROTECTED]

The engine caches small memory blocks.

------------------------------------------------------------------------

[2007-03-21 16:13:57] edwin at aucs dot org

Description:
------------
Memory leak in mysql_query, memory not being able to be freed by
mysql_free_result properly

Reproduce code:
---------------
Refer to Listing 4 to 7 of
http://www-128.ibm.com/developerworks/opensource/library/os-php-v521/

Expected result:
----------------
No memory leakage

Actual result:
--------------
mysql_query() is allocating memory incorrectly, even with the latest
CVS snap


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40883&edit=1

Reply via email to