Kaydet (Commit) 53851801 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#983373 Dereference before null check

Change-Id: Ie2a6b5e71f76ff2900ff078fcc098e66927458ef
üst 0f492c41
......@@ -1364,9 +1364,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( ensureCapacity )( IMPL_RTL_STRINGDATA** ppThi
*ppThis = pTempStr;
RTL_LOG_STRING_NEW( *ppThis );
/* must be done last, if pStr == *ppThis */
if ( pOrg )
IMPL_RTL_STRINGNAME( release )( pOrg );
IMPL_RTL_STRINGNAME( release )( pOrg );
}
/* ----------------------------------------------------------------------- */
......
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