kf6-syndication-6.3.0-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kf6-syndication-6.3.0-build/syndication-6.3.0/src/global.cpp:47:40: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#   45|           qAddPostRoutine(cleanupParserCollection);
#   46|           parserColl->registerParser(new RSS2::Parser, new RSS2Mapper);
#   47|->         parserColl->registerParser(new Atom::Parser, new AtomMapper);
#   48|           parserColl->registerParser(new RDF::Parser, new RDFMapper);
#   49|           collectionIsInitialized = true;

Error: CLANG_WARNING: [#def2]
kf6-syndication-6.3.0-build/syndication-6.3.0/src/global.cpp:48:40: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#   46|           parserColl->registerParser(new RSS2::Parser, new RSS2Mapper);
#   47|           parserColl->registerParser(new Atom::Parser, new AtomMapper);
#   48|->         parserColl->registerParser(new RDF::Parser, new RDFMapper);
#   49|           collectionIsInitialized = true;
#   50|       }

Error: CLANG_WARNING: [#def3]
kf6-syndication-6.3.0-build/syndication-6.3.0/src/global.cpp:49:33: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#   47|           parserColl->registerParser(new Atom::Parser, new AtomMapper);
#   48|           parserColl->registerParser(new RDF::Parser, new RDFMapper);
#   49|->         collectionIsInitialized = true;
#   50|       }
#   51|       return parserColl;

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-222.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-syndication-6.3.0-1.fc41
store-results-to/tmp/tmp5ng7wwz4/kf6-syndication-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:24:48
time-finished2024-07-03 14:27:05
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp5ng7wwz4/kf6-syndication-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp5ng7wwz4/kf6-syndication-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9