diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 11:33:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-11 11:52:33 +0100 |
commit | 14d22ce2712213d050f81951b2da1c8d66162119 (patch) | |
tree | 6ceab273d191b2e497515bc3c0043d02208d088d | |
parent | 0bf9c74e4931998defe6c1192482d9dd928b5fb6 (diff) |
coverity#707667 Uninitialized pointer field
Change-Id: I6e6627ee8104501f078aa967a16f210abb1d75bd
-rw-r--r-- | bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx b/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx index 4488e7417964..fe4a01517755 100644 --- a/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx +++ b/bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx @@ -154,6 +154,7 @@ CppInterfaceProxy::CppInterfaceProxy( , pTypeDescr( pTypeDescr_ ) , oid( rOId_ ) { + memset(vtables, 0, sizeof(vtables)); pBridge->acquire(); ::typelib_typedescription_acquire( (typelib_TypeDescription *)pTypeDescr ); (*pUnoI->acquire)( pUnoI ); |