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
 [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: Mon Nov 30 11:01:22 2020 UTC