coverity#704593 Dereference after null check
Change-Id: I5426cb2e8ca1e8fd2e9f38419ffe6d6e148a7cba
This commit is contained in:
parent
89efbdd440
commit
30d28cb883
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ void SAL_CALL typelib_static_type_init(
|
|||
OUString aTypeName( OUString::createFromAscii( pTypeName ) );
|
||||
::typelib_typedescriptionreference_new( ppRef, eTypeClass, aTypeName.pData );
|
||||
|
||||
// coverity[var_deref_op] - another static ref
|
||||
assert(*ppRef && "coverity[var_deref_op] - shouldn't be possible");
|
||||
++((*ppRef)->nStaticRefCount);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue