#40883 [Opn->Bgs]: mysql_query() is allocating memory incorrectly

From: Date: Wed, 21 Mar 2007 16:26:25 +0000
Subject: #40883 [Opn->Bgs]: mysql_query() is allocating memory incorrectly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110652@lists.php.net to get a copy of this message
ID: 40883 Updated by: tony2001@php.net Reported By: edwin at aucs dot org -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: WinXP PHP Version: 5.2.1 New Comment: The engine caches small memory blocks. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#110652) next »