Fixed defects

List of Defects

Error: CLANG_WARNING: [#def1]
fwupd-1.9.15/plugins/uefi-capsule/fu-uefi-capsule-plugin.c:553:10: warning[unix.Malloc]: Potential leak of memory pointed to by 'basenames'
#  551|   	efi_suffix = fu_uefi_bootmgr_get_suffix(error);
#  552|   	if (efi_suffix == NULL)
#  553|-> 		return FALSE;
#  554|   	for (guint i = 0; basenames_root[i] != NULL; i++)
#  555|   		basenames[i] = g_strdup_printf("%s%s.efi", basenames_root[i], efi_suffix);

Scan Properties

analyzer-version-clang18.1.1
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.9.0
diffbase-analyzer-version-clang18.1.1
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.9.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-206.us-west-2.compute.internal
diffbase-mock-configfedora-40-x86_64
diffbase-project-namefwupd-1.9.16-1.fc41
diffbase-store-results-to/tmp/tmpoqwfi32g/fwupd-1.9.16-1.fc41.tar.xz
diffbase-time-created2024-04-13 07:34:45
diffbase-time-finished2024-04-13 07:47:19
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-40-x86_64' '-t' 'shellcheck,clang,gcc,cppcheck' '-o' '/tmp/tmpoqwfi32g/fwupd-1.9.16-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpoqwfi32g/fwupd-1.9.16-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-206.us-west-2.compute.internal
mock-configfedora-40-x86_64
project-namefwupd-1.9.15-1.fc40
store-results-to/tmp/tmphp9_a2ya/fwupd-1.9.15-1.fc40.tar.xz
time-created2024-04-13 07:19:42
time-finished2024-04-13 07:34:00
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-40-x86_64' '-t' 'shellcheck,clang,gcc,cppcheck' '-o' '/tmp/tmphp9_a2ya/fwupd-1.9.15-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmphp9_a2ya/fwupd-1.9.15-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9