summaryrefslogtreecommitdiff
path: root/ext/oracle/oracle.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r--ext/oracle/oracle.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c
index d9b0172e4e..bf6c6ef5ad 100644
--- a/ext/oracle/oracle.c
+++ b/ext/oracle/oracle.c
@@ -191,8 +191,6 @@ DLEXPORT php3_module_entry *get_module() { return &oracle_module_entry; };
static int _close_oraconn(oraConnection *conn)
{
ORALS_FETCH();
-
- printf("_close_oraconn\n");fflush(stdout);
conn->open = 0;
@@ -208,16 +206,10 @@ static int _close_oraconn(oraConnection *conn)
static int _close_orapconn(oraConnection *conn)
{
ORALS_FETCH();
-
- printf("_close_orapconn\n");fflush(stdout);
- conn->open = 0;
- ologof(&conn->lda);
- free(conn);
- ORA(num_links)--;
- ORA(num_persistent)--;
+ _close_oraconn(conn);
- zend_hash_del(ORA(conns),(void*)&conn,sizeof(void*));
+ ORA(num_persistent)--;
return 1;
}