kf5-kxmlgui-5.116.0-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kf5-kxmlgui-5.116.0-build/kxmlgui-5.116.0/src/kbugreport.cpp:261:27: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'severityLayout'
#  259|               severityLayout->addWidget(rb);
#  260|           }
#  261|->         d->severityButtons[2]->setChecked(true); // default : "normal"
#  262|   
#  263|           lay->addWidget(d->m_bgSeverity);

Error: CLANG_WARNING: [#def2]
kf5-kxmlgui-5.116.0-build/kxmlgui-5.116.0/src/kcheckaccelerators.cpp:114:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'initializer'
#  112|       // This is to prevent using KSharedConfig before main() can set the app name
#  113|       QMetaObject::invokeMethod(initializer, "initiateIfNeeded", Qt::QueuedConnection);
#  114|-> }
#  115|   
#  116|   Q_COREAPP_STARTUP_FUNCTION(startupFunc)

Error: CLANG_WARNING: [#def3]
kf5-kxmlgui-5.116.0-build/kxmlgui-5.116.0/src/ktoolbar.cpp:332:33: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'positionGroup'
#  330|           }
#  331|   
#  332|->         contextMode = new QMenu(i18n("Text Position"), context);
#  333|   
#  334|           contextIcons = contextMode->addAction(i18nc("@item:inmenu", "Icons Only"), q, [this]() {

Error: CLANG_WARNING: [#def4]
kf5-kxmlgui-5.116.0-build/kxmlgui-5.116.0/src/ktoolbar.cpp:354:33: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'textGroup'
#  352|           }
#  353|   
#  354|->         contextSize = new QMenu(i18n("Icon Size"), context);
#  355|   
#  356|           auto *act = contextSize->addAction(i18nc("@item:inmenu Icon size", "Default"));

Error: CLANG_WARNING: [#def5]
kf5-kxmlgui-5.116.0-build/kxmlgui-5.116.0/src/ktoolbar.cpp:427:14: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'sizeGroup'
#  425|           }
#  426|   
#  427|->         if (!q->toolBarsLocked() && !q->isMovable()) {
#  428|               unlockedMovable = false;
#  429|           }

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-57.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kxmlgui-5.116.0-1.fc41
store-results-to/tmp/tmpqo1jccyf/kf5-kxmlgui-5.116.0-1.fc41.tar.xz
time-created2024-07-03 13:53:21
time-finished2024-07-03 13:55:33
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpqo1jccyf/kf5-kxmlgui-5.116.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpqo1jccyf/kf5-kxmlgui-5.116.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9