summaryrefslogtreecommitdiffstats
path: root/src/shared/bootspec.h
diff options
context:
space:
mode:
authorAdrian Vovk <adrianvovk@gmail.com>2024-10-01 22:53:02 +0200
committerAdrian Vovk <adrianvovk@gmail.com>2024-11-26 22:33:10 +0100
commite2501a851e10f5279862b2bccbdd9184572cce6a (patch)
tree2bac3d4b9ed3609e7fd4e4c0b0efbc864f48e229 /src/shared/bootspec.h
parentsd-stub: Fixup typo & measurement order (diff)
downloadsystemd-e2501a851e10f5279862b2bccbdd9184572cce6a.tar.xz
systemd-e2501a851e10f5279862b2bccbdd9184572cce6a.zip
bootspec: Fixup memory leak
This would previously leak memory: the array was deleted but contents inside of the array were not
Diffstat (limited to '')
-rw-r--r--src/shared/bootspec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/bootspec.h b/src/shared/bootspec.h
index 58c676fbec..0bb75669ce 100644
--- a/src/shared/bootspec.h
+++ b/src/shared/bootspec.h
@@ -31,8 +31,6 @@ typedef struct BootEntryAddons {
size_t n_items;
} BootEntryAddons;
-BootEntryAddon* boot_entry_addon_free(BootEntryAddon *t);
-
typedef struct BootEntry {
BootEntryType type;
bool reported_by_loader;