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| }
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.1.1-1.fc41 |
store-results-to | /tmp/tmptzmemif5/plasma-pa-6.1.1-1.fc41.tar.xz |
time-created | 2024-07-03 16:59:34 |
time-finished | 2024-07-03 17:01:42 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |