plasma-pa-6.1.1-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
plasma-pa-6.1.1-build/plasma-pa-6.1.1/src/qml/listitemmenu.cpp:384:13: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'portGroup'
#  382|   
#  383|           // Submenu with profiles
#  384|->         if (m_cardModel) {
#  385|               const int cardModelPulseObjectRole = m_cardModel->role("PulseObject");
#  386|               Q_ASSERT(cardModelPulseObjectRole != -1);

Error: CLANG_WARNING: [#def2]
plasma-pa-6.1.1-build/plasma-pa-6.1.1/src/qml/listitemmenu.cpp:453:20: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'profileGroup'
#  451|   
#  452|       // Choose output / input device
#  453|->     auto *stream = qobject_cast<PulseAudioQt::Stream *>(m_pulseObject.data());
#  454|       if (stream && m_sourceModel && m_sourceModel->rowCount() > 1) {
#  455|           if (m_itemType == SinkInput || m_itemType == SourceOutput) {

Error: CLANG_WARNING: [#def3]
plasma-pa-6.1.1-build/plasma-pa-6.1.1/src/qml/listitemmenu.cpp:485:9: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'deviceGroup'
#  483|       }
#  484|   
#  485|->     if (menu->isEmpty()) {
#  486|           delete menu;
#  487|           return nullptr;

Error: CLANG_WARNING: [#def4]
plasma-pa-6.1.1-build/plasma-pa-6.1.1/src/speakertest.cpp:104:5: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'cb_data'
#  102|       }
#  103|   
#  104|->     ca_context_change_device(context, nullptr);
#  105|       ca_proplist_destroy(proplist);
#  106|   }

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-63.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameplasma-pa-6.1.1-1.fc41
store-results-to/tmp/tmptzmemif5/plasma-pa-6.1.1-1.fc41.tar.xz
time-created2024-07-03 16:59:34
time-finished2024-07-03 17:01:42
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmptzmemif5/plasma-pa-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmptzmemif5/plasma-pa-6.1.1-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9