cppu/source/uno/lbenv.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 0b14eaf0546591e2c7be614051bd30b6387805a6
Author: Caolán McNamara <[email protected]>
AuthorDate: Fri Jul 26 08:51:21 2019 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Fri Jul 26 13:38:03 2019 +0200
cid#1448407 silence Resource leak
Change-Id: Ida523859077abe5904212db44108fa580bb6c60d
Reviewed-on: https://gerrit.libreoffice.org/76355
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 8d0ae9c44f5c..55b513a9d5de 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -1059,6 +1059,7 @@ extern "C"
static uno_Environment * initDefaultEnvironment(
const OUString & rEnvDcp, void * pContext )
{
+ // coverity[leaked_storage : FALSE] - lifetime is controlled by
acquire()/release() calls
uno_Environment * pEnv = &(new uno_DefaultEnvironment( rEnvDcp, pContext
))->aBase;
(*pEnv->acquire)( pEnv );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits