diff options
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 4dc665f33..31bda5eb5 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php @@ -686,10 +686,12 @@ class CI_DB_oci8_driver extends CI_DB { { oci_free_statement($this->curs_id); } + if (is_resource($this->stmt_id)) { oci_free_statement($this->stmt_id); } + oci_close($this->conn_id); } |