PHP 4.0 Bug #4512 Updated: Memory leaks Sybase for MSSQL using FreeTDS

From: Date: Mon, 04 Sep 2000 22:24:44 +0000
Subject: PHP 4.0 Bug #4512 Updated: Memory leaks Sybase for MSSQL using FreeTDS
Groups: php.dev 
Request: Send a blank email to php-dev+get-31984@lists.php.net to get a copy of this message
ID: 4512 Updated by: sniper Reported By: wylie@pingzero.net Status: Closed Bug Type: Sybase (dblib) related Assigned To: Comments: No feedback. Try latest CVS or snapshot from http://snaps.php.net/ and reopen this bug report if problem still exists. --Jani Previous Comments: [2000-08-20 03:37:17] sniper@php.net Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ?? --Jani --------------------------------------------------------------------------- [2000-05-18 21:58:42] wylie@pingzero.net (2697)$ php -e sybase.html X-Powered-By: PHP/4.0RC2 Content-type: text/html 1 1 There were 8 rows. 9DE1BF94-1F0F-11D4-A7FF-0008C7C54186<br> 9DE1BF8F-1F0F-11D4-A7FF-0008C7C54186<br> 9DE1BF94-1F0F-11D4-A7FF-0008C7C54186<br> string.c(1658) : Freeing 0x081EE3A4 (83 bytes), script=sybase.html Last leak repeated 1 time sybase.c(934) : Freeing 0x081EDCFC (12 bytes), script=sybase.html Last leak repeated 1 time memory leaks? This is a simple (even lame :-) script: to test with. Any ideas, or is there any data I can help supplement to make this problem easier to fix? <? echo sybase_connect( "server", "user", "pwd" )."n"; echo sybase_select_db( "database" )."n"; $result=sybase_query( "SELECT * FROM table" ); echo "There were ".sybase_num_rows($result)." rows.n"; while ($tst = sybase_fetch_object($result)) { print $tst->f1."<br>n"; } $ok=sybase_free_result($result); $ok=sybase_close(); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=4512

« previous php.dev (#31984) next »