diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-26 11:23:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-07-26 22:04:32 +0200 |
commit | 1d457f960b3bb8efe8132b87babba7db4b58813e (patch) | |
tree | bb8d2cea272dfd7e7194df8a7c5d274bb45619d8 /cppu | |
parent | 1d023f5bba0bd29a94bb252009e5e217849239f8 (diff) |
Related: rhbz#1602589 silence coverity leaked_storage
Change-Id: Iae694be40b32cc3821d326bb362e6091dba19a35
Reviewed-on: https://gerrit.libreoffice.org/58079
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index c586ae2220ea..46238d5481b0 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -555,6 +555,7 @@ extern "C" void typelib_typedescription_newEmpty( osl_atomic_increment( &Init::get().nIndirectTypeDescriptionCount ); #endif pTmp->pType = nullptr; + // coverity[leaked_storage] - this is on purpose } break; @@ -572,6 +573,7 @@ extern "C" void typelib_typedescription_newEmpty( pTmp->aBase.ppTypeRefs = nullptr; pTmp->aBase.ppMemberNames = nullptr; pTmp->pParameterizedTypes = nullptr; + // coverity[leaked_storage] - this is on purpose } break; @@ -588,6 +590,7 @@ extern "C" void typelib_typedescription_newEmpty( pTmp->pMemberOffsets = nullptr; pTmp->ppTypeRefs = nullptr; pTmp->ppMemberNames = nullptr; + // coverity[leaked_storage] - this is on purpose } break; @@ -602,6 +605,7 @@ extern "C" void typelib_typedescription_newEmpty( pTmp->nEnumValues = 0; pTmp->ppEnumNames = nullptr; pTmp->pEnumValues = nullptr; + // coverity[leaked_storage] - this is on purpose } break; @@ -623,6 +627,7 @@ extern "C" void typelib_typedescription_newEmpty( pTmp->pMapMemberIndexToFunctionIndex= nullptr; pTmp->nBaseTypes = 0; pTmp->ppBaseTypes = nullptr; + // coverity[leaked_storage] - this is on purpose } break; @@ -643,6 +648,7 @@ extern "C" void typelib_typedescription_newEmpty( pTmp->pInterface = nullptr; pTmp->pBaseRef = nullptr; pTmp->nIndex = 0; + // coverity[leaked_storage] - this is on purpose } break; @@ -663,6 +669,7 @@ extern "C" void typelib_typedescription_newEmpty( pTmp->ppGetExceptions = nullptr; pTmp->nSetExceptions = 0; pTmp->ppSetExceptions = nullptr; + // coverity[leaked_storage] - this is on purpose } break; |