Skip to content

Commit

Permalink
db_oracle: avoid double free on connection error
Browse files Browse the repository at this point in the history
(cherry picked from commit 6d9e020)
  • Loading branch information
ovidiusas committed Apr 3, 2017
1 parent b12ac4e commit bec8ca3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/db_oracle/ora_con.c
Expand Up @@ -153,7 +153,6 @@ void db_oracle_free_connection(ora_con_t* con)
OCIHandleFree(con->errhp, OCI_HTYPE_ERROR);
if (con->envhp)
OCIHandleFree(con->envhp, OCI_HTYPE_ENV);
free_db_id(con->hdr.id);
pkg_free(con);
}

Expand Down

0 comments on commit bec8ca3

Please sign in to comment.