[Libreoffice-commits] core.git: sal/cppunittester

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 23 16:03:28 UTC 2020


 sal/cppunittester/cppunittester.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 415a91745011e09381859a4fb34577ceccbaaa67
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Sep 23 16:33:39 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Sep 23 18:02:46 2020 +0200

    Silence cid#1467434
    
    Change-Id: Ibb996a3440a272405531c6d3cda0faa1d8c72ec2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103260
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 0a833de5fba2..d325808198b7 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -311,6 +311,7 @@ public:
                 if (!added)
                 {
                     std::cerr << "\nFatal error: CPPUNIT_TEST_NAME contains no valid tests\n";
+                    // coverity[leaked_storage] - `manager` leaked on purpose
                     return false;
                 }
             }


More information about the Libreoffice-commits mailing list