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

coverity#707667 Uninitialized pointer field

Change-Id: I6e6627ee8104501f078aa967a16f210abb1d75bd
üst 0bf9c74e
...@@ -154,6 +154,7 @@ CppInterfaceProxy::CppInterfaceProxy( ...@@ -154,6 +154,7 @@ CppInterfaceProxy::CppInterfaceProxy(
, pTypeDescr( pTypeDescr_ ) , pTypeDescr( pTypeDescr_ )
, oid( rOId_ ) , oid( rOId_ )
{ {
memset(vtables, 0, sizeof(vtables));
pBridge->acquire(); pBridge->acquire();
::typelib_typedescription_acquire( (typelib_TypeDescription *)pTypeDescr ); ::typelib_typedescription_acquire( (typelib_TypeDescription *)pTypeDescr );
(*pUnoI->acquire)( pUnoI ); (*pUnoI->acquire)( pUnoI );
......
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