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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 21 = ?
Subscribe to this entry?

 
 [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-2021 The PHP Group
All rights reserved.
Last updated: Wed Jan 27 01:01:24 2021 UTC