|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4512 Memory leaks Sybase for MSSQL using FreeTDS
Submitted: 2000-05-18 21:58 UTC Modified: 2000-09-04 18:24 UTC
From: wylie at pingzero dot net Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0 Release Candidate 2 OS: Linux 2.2.14-5.0smp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: wylie at pingzero dot net
New email:
PHP Version: OS:


 [2000-05-18 21:58 UTC] wylie at pingzero dot net
(2697)$ php -e sybase.html
X-Powered-By: PHP/4.0RC2
Content-type: text/html

There were 8 rows.
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";



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 03:37 UTC]
Does this problem still persist with more recent version of php (from CVS or ??

 [2000-09-04 18:24 UTC]
No feedback. Try latest CVS or snapshot from
and reopen this bug report if problem still exists.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Feb 26 10:01:27 2024 UTC