php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #501 efree called twice in _close_oraconn
Submitted: 1998-07-02 10:04 UTC Modified: 1998-07-02 11:25 UTC
From: growler at tula dot net Assigned:
Status: Closed Package: Oracle related
PHP Version: 3.0 Final Release OS: Linux
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: growler at tula dot net
New email:
PHP Version: OS:

 

 [1998-07-02 10:04 UTC] growler at tula dot net
--- oracle.c.orig       Thu Jun  4 19:05:00 1998
+++ oracle.c    Thu Jul  2 17:52:40 1998
@@ -213,7 +213,6 @@
   ologof(&conn->lda);
   efree(conn);
   ORACLE_GLOBAL(php3_oracle_module).num_links--;
-  efree(conn);
 }

 static void _close_orapconn(oraConnection *conn)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-02 11:25 UTC] rasmus
Applied - good catch
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Dec 04 18:01:23 2020 UTC