Error: CLANG_WARNING: [#def1] plasma-pa-6.0.3-build/plasma-pa-6.0.3/src/qml/listitemmenu.cpp:382:13: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'portGroup' # 380| # 381| // Submenu with profiles # 382|-> if (m_cardModel) { # 383| const int cardModelPulseObjectRole = m_cardModel->role("PulseObject"); # 384| Q_ASSERT(cardModelPulseObjectRole != -1); Error: CLANG_WARNING: [#def2] plasma-pa-6.0.3-build/plasma-pa-6.0.3/src/qml/listitemmenu.cpp:451:20: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'profileGroup' # 449| # 450| // Choose output / input device # 451|-> auto *stream = qobject_cast<QPulseAudio::Stream *>(m_pulseObject.data()); # 452| if (stream && m_sourceModel && m_sourceModel->rowCount() > 1) { # 453| if (m_itemType == SinkInput || m_itemType == SourceOutput) { Error: CLANG_WARNING: [#def3] plasma-pa-6.0.3-build/plasma-pa-6.0.3/src/qml/listitemmenu.cpp:483:9: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'deviceGroup' # 481| } # 482| # 483|-> if (menu->isEmpty()) { # 484| delete menu; # 485| return nullptr; Error: CLANG_WARNING: [#def4] plasma-pa-6.0.3-build/plasma-pa-6.0.3/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| }
| analyzer-version-clang | 18.1.7 |
| analyzer-version-cppcheck | 2.14.2 |
| analyzer-version-gcc | 14.1.1 |
| analyzer-version-gcc-analyzer | 14.1.1 |
| analyzer-version-shellcheck | 0.10.0 |
| enabled-plugins | clang, cppcheck, gcc, shellcheck |
| exit-code | 0 |
| host | ip-172-16-1-63.us-west-2.compute.internal |
| mock-config | fedora-41-x86_64 |
| project-name | plasma-pa-6.0.3-1.fc40 |
| store-results-to | /tmp/tmpqe08va7h/plasma-pa-6.0.3-1.fc40.tar.xz |
| time-created | 2024-07-03 16:56:30 |
| time-finished | 2024-07-03 16:59:16 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpqe08va7h/plasma-pa-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpqe08va7h/plasma-pa-6.0.3-1.fc40.src.rpm' |
| tool-version | csmock-3.5.3-1.el9 |