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 23:11:15 -0700


Yes, you are correct. --with-sybase. I've been to the PHP bug database and
issued a
bug. Two other reports existed in the tracking system for PHP4RC2 which I'll
include in
this message. I went ahead and forwarded your email to the PHP dev mailing
list to see
if there was any insight on that end.





Brian Bruns wrote:

> Are you using --with-sybase or --with-sybase-ct ? I'll assume
> --with-sybase and give it a try.
>
> Brian
>
> On Thu, 18 May 2000, Wylie Swanson wrote:
>
> > (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();
> >
> > ?>
> >
> >
> > ---
> > You are currently subscribed to freetds as: camber AT ais.org
> > To unsubscribe, forward this message to $subst('Email.Unsub')
> >
> >
>
> ---
> You are currently subscribed to freetds as: wylie AT storerunner.com
> To unsubscribe, forward this message to $subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page