Skip to content
Snippets Groups Projects
Commit 30197165 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix invalid read

parent d0ca539c
Branches
Tags
No related merge requests found
......@@ -257,9 +257,10 @@ static void
backsql_close_db_conn( void *v_conn )
{
backsql_db_conn *conn = (backsql_db_conn *)v_conn;
unsigned long cid = conn->ldap_cid;
Debug( LDAP_DEBUG_TRACE, "==>backsql_close_db_conn(%lu)\n",
conn->ldap_cid, 0, 0 );
cid, 0, 0 );
/*
* Default transact is SQL_ROLLBACK; commit is required only
......@@ -274,7 +275,7 @@ backsql_close_db_conn( void *v_conn )
ch_free( conn );
Debug( LDAP_DEBUG_TRACE, "<==backsql_close_db_conn(%lu)\n",
conn->ldap_cid, 0, 0 );
cid, 0, 0 );
}
int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment