Coverage Report

Created: 2025-07-18 06:26

/work/include/glib-2.0/glib/glib-autocleanups.h
Line
Count
Source
1
/*
2
 * Copyright © 2015 Canonical Limited
3
 *
4
 * This library is free software; you can redistribute it and/or
5
 * modify it under the terms of the GNU Lesser General Public
6
 * License as published by the Free Software Foundation; either
7
 * version 2.1 of the License, or (at your option) any later version.
8
 *
9
 * This library is distributed in the hope that it will be useful,
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 * Lesser General Public License for more details.
13
 *
14
 * You should have received a copy of the GNU Lesser General Public
15
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
16
 *
17
 * Author: Ryan Lortie <desrt@desrt.ca>
18
 */
19
20
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
21
#error "Only <glib.h> can be included directly."
22
#endif
23
24
static inline void
25
g_autoptr_cleanup_generic_gfree (void *p)
26
70.2M
{
27
70.2M
  void **pp = (void**)p;
28
70.2M
  g_free (*pp);
29
70.2M
}
Unexecuted instantiation: fu-synaptics-cape-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-synaptics-cape-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-synaptics-cape-hid-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-synaptics-cape-sngl-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-common.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-codec.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-device.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-enums.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-error.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-bios-setting.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-security-attr.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-release.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-report.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fwupd-request.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-progress-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-common-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-acpi-table-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-archive-struct.c:g_autoptr_cleanup_generic_gfree
fu-cab-struct.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
3.87M
{
27
3.87M
  void **pp = (void**)p;
28
3.87M
  g_free (*pp);
29
3.87M
}
Unexecuted instantiation: fu-cfi-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-cfu-firmware-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-coswid-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-device-struct.c:g_autoptr_cleanup_generic_gfree
fu-dfu-firmware-struct.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
5.47M
{
27
5.47M
  void **pp = (void**)p;
28
5.47M
  g_free (*pp);
29
5.47M
}
Unexecuted instantiation: fu-dpaux-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-edid-struct.c:g_autoptr_cleanup_generic_gfree
fu-efi-struct.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
411
{
27
411
  void **pp = (void**)p;
28
411
  g_free (*pp);
29
411
}
fu-elf-struct.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
4.80M
{
27
4.80M
  void **pp = (void**)p;
28
4.80M
  g_free (*pp);
29
4.80M
}
Unexecuted instantiation: fu-fdt-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-firmware-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-fmap-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hid-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ifd-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ifwi-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ihex-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-intel-thunderbolt-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-io-channel-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-heci-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-msgpack-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-oprom-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-pefile-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-pci-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-sbatlevel-section-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-smbios-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-usb-device-ds20-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-usb-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-uswid-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-v4l-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-acpi-table.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-backend.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-bios-setting.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-bios-settings.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-byte-array.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-bytes.c:g_autoptr_cleanup_generic_gfree
fu-cab-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
3.33k
{
27
3.33k
  void **pp = (void**)p;
28
3.33k
  g_free (*pp);
29
3.33k
}
Unexecuted instantiation: fu-cab-image.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-cfu-offer.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-cfu-payload.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-chunk.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-chunk-array.c:g_autoptr_cleanup_generic_gfree
fu-common.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
1.06M
{
27
1.06M
  void **pp = (void**)p;
28
1.06M
  g_free (*pp);
29
1.06M
}
Unexecuted instantiation: fu-composite-input-stream.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-config.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-context.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-coswid-common.c:g_autoptr_cleanup_generic_gfree
fu-coswid-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
40.3k
{
27
40.3k
  void **pp = (void**)p;
28
40.3k
  g_free (*pp);
29
40.3k
}
Unexecuted instantiation: fu-crc.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-csv-entry.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-csv-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-device.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-device-event.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-device-locker.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-dfu-firmware.c:g_autoptr_cleanup_generic_gfree
fu-dfuse-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
70
{
27
70
  void **pp = (void**)p;
28
70
  g_free (*pp);
29
70
}
Unexecuted instantiation: fu-dummy-efivars.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-dump.c:g_autoptr_cleanup_generic_gfree
fu-edid.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
613
{
27
613
  void **pp = (void**)p;
28
613
  g_free (*pp);
29
613
}
Unexecuted instantiation: fu-efi-common.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-efi-device-path.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-efi-device-path-list.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-efi-file-path-device-path.c:g_autoptr_cleanup_generic_gfree
fu-efi-file.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
30.6k
{
27
30.6k
  void **pp = (void**)p;
28
30.6k
  g_free (*pp);
29
30.6k
}
Unexecuted instantiation: fu-efi-filesystem.c:g_autoptr_cleanup_generic_gfree
fu-efi-section.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
8.77k
{
27
8.77k
  void **pp = (void**)p;
28
8.77k
  g_free (*pp);
29
8.77k
}
fu-efi-volume.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
9.04k
{
27
9.04k
  void **pp = (void**)p;
28
9.04k
  g_free (*pp);
29
9.04k
}
fu-efi-lz77-decompressor.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
1.01k
{
27
1.01k
  void **pp = (void**)p;
28
1.01k
  g_free (*pp);
29
1.01k
}
Unexecuted instantiation: fu-efi-hard-drive-device-path.c:g_autoptr_cleanup_generic_gfree
fu-efi-load-option.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
12.3k
{
27
12.3k
  void **pp = (void**)p;
28
12.3k
  g_free (*pp);
29
12.3k
}
Unexecuted instantiation: fu-efivars.c:g_autoptr_cleanup_generic_gfree
fu-elf-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
3.99M
{
27
3.99M
  void **pp = (void**)p;
28
3.99M
  g_free (*pp);
29
3.99M
}
Unexecuted instantiation: fu-fdt-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-fdt-image.c:g_autoptr_cleanup_generic_gfree
fu-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
394k
{
27
394k
  void **pp = (void**)p;
28
394k
  g_free (*pp);
29
394k
}
fu-firmware-common.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
878
{
27
878
  void **pp = (void**)p;
28
878
  g_free (*pp);
29
878
}
fu-fit-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
290
{
27
290
  void **pp = (void**)p;
28
290
  g_free (*pp);
29
290
}
fu-fmap-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
4.08M
{
27
4.08M
  void **pp = (void**)p;
28
4.08M
  g_free (*pp);
29
4.08M
}
fu-hid-descriptor.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
133k
{
27
133k
  void **pp = (void**)p;
28
133k
  g_free (*pp);
29
133k
}
Unexecuted instantiation: fu-hid-report-item.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hid-report.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hwids.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hwids-config.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hwids-dmi.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hwids-fdt.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hwids-kenv.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hwids-darwin.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-hwids-smbios.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ifd-bios.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ifd-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ifd-image.c:g_autoptr_cleanup_generic_gfree
fu-ifwi-cpd-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
46.7k
{
27
46.7k
  void **pp = (void**)p;
28
46.7k
  g_free (*pp);
29
46.7k
}
fu-ifwi-fpt-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
3.43k
{
27
3.43k
  void **pp = (void**)p;
28
3.43k
  g_free (*pp);
29
3.43k
}
fu-ihex-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
176
{
27
176
  void **pp = (void**)p;
28
176
  g_free (*pp);
29
176
}
Unexecuted instantiation: fu-input-stream.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-intel-thunderbolt-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-intel-thunderbolt-nvm.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-io-channel.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ioctl.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-kenv.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-kernel.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-kernel-search-path.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-linear-firmware.c:g_autoptr_cleanup_generic_gfree
fu-lzma-common.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
49
{
27
49
  void **pp = (void**)p;
28
49
  g_free (*pp);
29
49
}
fu-mem.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
28.3M
{
27
28.3M
  void **pp = (void**)p;
28
28.3M
  g_free (*pp);
29
28.3M
}
Unexecuted instantiation: fu-oprom-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-partial-input-stream.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-path.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-pefile-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-output-stream.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-progress.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-quirks.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-sbatlevel-section.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-security-attr.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-smbios.c:g_autoptr_cleanup_generic_gfree
fu-srec-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
312
{
27
312
  void **pp = (void**)p;
28
312
  g_free (*pp);
29
312
}
fu-string.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
8.44k
{
27
8.44k
  void **pp = (void**)p;
28
8.44k
  g_free (*pp);
29
8.44k
}
Unexecuted instantiation: fu-sum.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-udev-device.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-uswid-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-version-common.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-volume.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-common-linux.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-darwin-efivars.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-fuzzer-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-array.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-builder.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-generator.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-node.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-object.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-parser.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-scanner.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-value.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: json-debug.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-builder.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-builder-fixup.c:g_autoptr_cleanup_generic_gfree
xb-builder-node.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
1.34M
{
27
1.34M
  void **pp = (void**)p;
28
1.34M
  g_free (*pp);
29
1.34M
}
Unexecuted instantiation: xb-builder-source.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-builder-source-ctx.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-common.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-node.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-node-query.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-query.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-query-context.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-silo.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-silo-export.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-silo-query.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-stack.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-string.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-value-bindings.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-version.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-zstd-decompressor.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-lzma-decompressor.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-machine.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: xb-opcode.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ccgx-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ccgx-pure-hid-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ccgx-common.c:g_autoptr_cleanup_generic_gfree
fu-ccgx-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
306
{
27
306
  void **pp = (void**)p;
28
306
  g_free (*pp);
29
306
}
fu-genesys-usbhub-struct.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
6.65M
{
27
6.65M
  void **pp = (void**)p;
28
6.65M
  g_free (*pp);
29
6.65M
}
Unexecuted instantiation: fu-genesys-scaler-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-genesys-usbhub-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-genesys-usbhub-dev-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-genesys-usbhub-pd-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-genesys-usbhub-codesign-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-cros-ec-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-cros-ec-common.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-cros-ec-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-pxi-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-pxi-common.c:g_autoptr_cleanup_generic_gfree
fu-pxi-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
74
{
27
74
  void **pp = (void**)p;
28
74
  g_free (*pp);
29
74
}
fu-acpi-phat-struct.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
4.74M
{
27
4.74M
  void **pp = (void**)p;
28
4.74M
  g_free (*pp);
29
4.74M
}
fu-acpi-phat.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
4.36k
{
27
4.36k
  void **pp = (void**)p;
28
4.36k
  g_free (*pp);
29
4.36k
}
Unexecuted instantiation: fu-acpi-phat-health-record.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-acpi-phat-version-element.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-acpi-phat-version-record.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ebitdo-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ebitdo-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-uf2-struct.c:g_autoptr_cleanup_generic_gfree
fu-uf2-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
1.36k
{
27
1.36k
  void **pp = (void**)p;
28
1.36k
  g_free (*pp);
29
1.36k
}
fu-wac-struct.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
2.62M
{
27
2.62M
  void **pp = (void**)p;
28
2.62M
  g_free (*pp);
29
2.62M
}
fu-wac-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
2.53M
{
27
2.53M
  void **pp = (void**)p;
28
2.53M
  g_free (*pp);
29
2.53M
}
Unexecuted instantiation: fu-elantp-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-elantp-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-redfish-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-redfish-common.c:g_autoptr_cleanup_generic_gfree
fu-redfish-smbios.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
2.48k
{
27
2.48k
  void **pp = (void**)p;
28
2.48k
  g_free (*pp);
29
2.48k
}
Unexecuted instantiation: fu-elanfp-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-elanfp-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-synaprom-struct.c:g_autoptr_cleanup_generic_gfree
fu-synaprom-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
137
{
27
137
  void **pp = (void**)p;
28
137
  g_free (*pp);
29
137
}
Unexecuted instantiation: fu-synaptics-mst-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-synaptics-mst-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ccgx-dmc-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-ccgx-dmc-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-synaptics-rmi-struct.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-synaptics-rmi-common.c:g_autoptr_cleanup_generic_gfree
fu-synaptics-rmi-firmware.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
18.3k
{
27
18.3k
  void **pp = (void**)p;
28
18.3k
  g_free (*pp);
29
18.3k
}
fu-bcm57xx-common.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
72
{
27
72
  void **pp = (void**)p;
28
72
  g_free (*pp);
29
72
}
fu-bcm57xx-dict-image.c:g_autoptr_cleanup_generic_gfree
Line
Count
Source
26
5.42k
{
27
5.42k
  void **pp = (void**)p;
28
5.42k
  g_free (*pp);
29
5.42k
}
Unexecuted instantiation: fu-bcm57xx-firmware.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-bcm57xx-stage1-image.c:g_autoptr_cleanup_generic_gfree
Unexecuted instantiation: fu-bcm57xx-stage2-image.c:g_autoptr_cleanup_generic_gfree
30
31
static inline void
32
g_autoptr_cleanup_gstring_free (GString *string)
33
52.0M
{
34
52.0M
  if (string)
35
52.0M
    g_string_free (string, TRUE);
36
52.0M
}
Unexecuted instantiation: fu-synaptics-cape-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-cape-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-cape-hid-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-cape-sngl-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-codec.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-device.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-enums.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-error.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-bios-setting.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-security-attr.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-release.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-report.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fwupd-request.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-progress-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-common-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-acpi-table-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-archive-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-cab-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-cfi-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-cfu-firmware-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-coswid-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-device-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-dfu-firmware-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-dpaux-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-edid-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-elf-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-fdt-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-firmware-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-fmap-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hid-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ifd-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ifwi-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ihex-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-intel-thunderbolt-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-io-channel-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-heci-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-msgpack-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-oprom-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-pefile-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-pci-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-sbatlevel-section-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-smbios-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-usb-device-ds20-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-usb-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-uswid-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-v4l-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-acpi-table.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-backend.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bios-setting.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bios-settings.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-byte-array.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bytes.c:g_autoptr_cleanup_gstring_free
fu-cab-firmware.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
15.9k
{
34
15.9k
  if (string)
35
15.9k
    g_string_free (string, TRUE);
36
15.9k
}
fu-cab-image.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
141
{
34
141
  if (string)
35
141
    g_string_free (string, TRUE);
36
141
}
Unexecuted instantiation: fu-cfu-offer.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-cfu-payload.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-chunk.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-chunk-array.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-composite-input-stream.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-config.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-context.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-coswid-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-coswid-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-crc.c:g_autoptr_cleanup_gstring_free
fu-csv-entry.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
170k
{
34
170k
  if (string)
35
170k
    g_string_free (string, TRUE);
36
170k
}
fu-csv-firmware.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
1.67k
{
34
1.67k
  if (string)
35
1.67k
    g_string_free (string, TRUE);
36
1.67k
}
Unexecuted instantiation: fu-device.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-device-event.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-device-locker.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-dfu-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-dfuse-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-dummy-efivars.c:g_autoptr_cleanup_gstring_free
fu-dump.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
3.79k
{
34
3.79k
  if (string)
35
3.79k
    g_string_free (string, TRUE);
36
3.79k
}
fu-edid.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
30
{
34
30
  if (string)
35
30
    g_string_free (string, TRUE);
36
30
}
Unexecuted instantiation: fu-efi-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-device-path.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-device-path-list.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-file-path-device-path.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-file.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-filesystem.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-section.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-volume.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-lz77-decompressor.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-efi-hard-drive-device-path.c:g_autoptr_cleanup_gstring_free
fu-efi-load-option.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
890
{
34
890
  if (string)
35
890
    g_string_free (string, TRUE);
36
890
}
Unexecuted instantiation: fu-efivars.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-elf-firmware.c:g_autoptr_cleanup_gstring_free
fu-fdt-firmware.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
207k
{
34
207k
  if (string)
35
207k
    g_string_free (string, TRUE);
36
207k
}
Unexecuted instantiation: fu-fdt-image.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-firmware-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-fit-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-fmap-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hid-descriptor.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hid-report-item.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hid-report.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hwids.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hwids-config.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hwids-dmi.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hwids-fdt.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hwids-kenv.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hwids-darwin.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-hwids-smbios.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ifd-bios.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ifd-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ifd-image.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ifwi-cpd-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ifwi-fpt-firmware.c:g_autoptr_cleanup_gstring_free
fu-ihex-firmware.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
184
{
34
184
  if (string)
35
184
    g_string_free (string, TRUE);
36
184
}
Unexecuted instantiation: fu-input-stream.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-intel-thunderbolt-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-intel-thunderbolt-nvm.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-io-channel.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ioctl.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-kenv.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-kernel.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-kernel-search-path.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-linear-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-lzma-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-mem.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-oprom-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-partial-input-stream.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-path.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-pefile-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-output-stream.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-progress.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-quirks.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-sbatlevel-section.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-security-attr.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-smbios.c:g_autoptr_cleanup_gstring_free
fu-srec-firmware.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
2.42k
{
34
2.42k
  if (string)
35
2.42k
    g_string_free (string, TRUE);
36
2.42k
}
fu-string.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
51.6M
{
34
51.6M
  if (string)
35
51.6M
    g_string_free (string, TRUE);
36
51.6M
}
Unexecuted instantiation: fu-sum.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-udev-device.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-uswid-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-version-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-volume.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-common-linux.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-darwin-efivars.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-fuzzer-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-array.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-builder.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-generator.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-node.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-object.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-parser.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-scanner.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-value.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: json-debug.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-builder.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-builder-fixup.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-builder-node.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-builder-source.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-builder-source-ctx.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-node.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-node-query.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-query.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-query-context.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-silo.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-silo-export.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-silo-query.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-stack.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-string.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-value-bindings.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-version.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-zstd-decompressor.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-lzma-decompressor.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-machine.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: xb-opcode.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ccgx-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ccgx-pure-hid-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ccgx-common.c:g_autoptr_cleanup_gstring_free
fu-ccgx-firmware.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
60
{
34
60
  if (string)
35
60
    g_string_free (string, TRUE);
36
60
}
Unexecuted instantiation: fu-genesys-usbhub-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-genesys-scaler-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-genesys-usbhub-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-genesys-usbhub-dev-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-genesys-usbhub-pd-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-genesys-usbhub-codesign-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-cros-ec-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-cros-ec-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-cros-ec-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-pxi-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-pxi-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-pxi-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-acpi-phat-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-acpi-phat.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-acpi-phat-health-record.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-acpi-phat-version-element.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-acpi-phat-version-record.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ebitdo-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ebitdo-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-uf2-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-uf2-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-wac-struct.c:g_autoptr_cleanup_gstring_free
fu-wac-firmware.c:g_autoptr_cleanup_gstring_free
Line
Count
Source
33
2.78k
{
34
2.78k
  if (string)
35
2.78k
    g_string_free (string, TRUE);
36
2.78k
}
Unexecuted instantiation: fu-elantp-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-elantp-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-redfish-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-redfish-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-redfish-smbios.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-elanfp-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-elanfp-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaprom-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaprom-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-mst-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-mst-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ccgx-dmc-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-ccgx-dmc-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-rmi-struct.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-rmi-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-synaptics-rmi-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bcm57xx-common.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bcm57xx-dict-image.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bcm57xx-firmware.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bcm57xx-stage1-image.c:g_autoptr_cleanup_gstring_free
Unexecuted instantiation: fu-bcm57xx-stage2-image.c:g_autoptr_cleanup_gstring_free
37
38
/* Ignore deprecations in case we refer to a type which was added in a more
39
 * recent GLib version than the user’s #GLIB_VERSION_MAX_ALLOWED definition. */
40
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
41
42
/* If adding a cleanup here, please also add a test case to
43
 * glib/tests/autoptr.c
44
 */
45
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GAsyncQueue, g_async_queue_unref)
46
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBookmarkFile, g_bookmark_file_free)
47
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GBytes, g_bytes_unref)
48
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GChecksum, g_checksum_free)
49
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDateTime, g_date_time_unref)
50
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDate, g_date_free)
51
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDir, g_dir_close)
52
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GError, g_error_free)
53
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GHashTable, g_hash_table_unref)
54
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GHmac, g_hmac_unref)
55
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GIOChannel, g_io_channel_unref)
56
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GKeyFile, g_key_file_unref)
57
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GList, g_list_free)
58
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GArray, g_array_unref)
59
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPtrArray, g_ptr_array_unref)
60
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GByteArray, g_byte_array_unref)
61
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainContext, g_main_context_unref)
62
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainContextPusher, g_main_context_pusher_free)
63
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainLoop, g_main_loop_unref)
64
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSource, g_source_unref)
65
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMappedFile, g_mapped_file_unref)
66
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMarkupParseContext, g_markup_parse_context_unref)
67
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GNode, g_node_destroy)
68
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOptionContext, g_option_context_free)
69
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GOptionGroup, g_option_group_unref)
70
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPatternSpec, g_pattern_spec_free)
71
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GQueue, g_queue_free)
72
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GQueue, g_queue_clear)
73
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRand, g_rand_free)
74
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRegex, g_regex_unref)
75
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMatchInfo, g_match_info_unref)
76
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GScanner, g_scanner_destroy)
77
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSequence, g_sequence_free)
78
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSList, g_slist_free)
79
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GString, g_autoptr_cleanup_gstring_free)
80
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GStringChunk, g_string_chunk_free)
81
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GStrvBuilder, g_strv_builder_unref)
82
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GThread, g_thread_unref)
83
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GMutex, g_mutex_clear)
84
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMutexLocker, g_mutex_locker_free)
85
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRecMutexLocker, g_rec_mutex_locker_free)
86
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRWLockWriterLocker, g_rw_lock_writer_locker_free)
87
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRWLockReaderLocker, g_rw_lock_reader_locker_free)
88
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GCond, g_cond_clear)
89
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTimer, g_timer_destroy)
90
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTimeZone, g_time_zone_unref)
91
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTree, g_tree_unref)
92
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariant, g_variant_unref)
93
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantBuilder, g_variant_builder_unref)
94
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GVariantBuilder, g_variant_builder_clear)
95
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantIter, g_variant_iter_free)
96
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantDict, g_variant_dict_unref)
97
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GVariantDict, g_variant_dict_clear)
98
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariantType, g_variant_type_free)
99
G_DEFINE_AUTO_CLEANUP_FREE_FUNC(GStrv, g_strfreev, NULL)
100
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GRefString, g_ref_string_release)
101
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUri, g_uri_unref)
102
103
G_GNUC_END_IGNORE_DEPRECATIONS