Kaydet (Commit) 8f539e3f authored tarafından Noel Grandin's avatar Noel Grandin

cid#704588 Dereference after null check

Change-Id: If84e072da9e59140466262fbeac4dc787a9de898
üst 0a6f6cb0
......@@ -718,7 +718,7 @@ void java_sql_Connection::loadDriverFromProperties( const OUString& _sDriverClas
ThrowLoggedSQLException( m_aLogger, t.pEnv, *this );
m_pDriverobject = driverObject.release();
if( t.pEnv && m_pDriverobject )
if( m_pDriverobject )
m_pDriverobject = t.pEnv->NewGlobalRef( m_pDriverobject );
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment