Skip to Content.
Sympa Menu

freetds - Re: memory leaks

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Wylie Swanson <wylie AT storerunner.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: memory leaks
  • Date: Thu, 18 May 2000 18:55:49 -0700


(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();

?>





Archive powered by MHonArc 2.6.24.

Top of Page