summaryrefslogtreecommitdiffstats
path: root/src/kernel-install
diff options
context:
space:
mode:
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2024-01-10 09:20:15 +0100
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2024-01-10 09:20:15 +0100
commitd1b1cf8f26fa5c520986103b67e56b261c5aa12c (patch)
treeb862ca96b82fdb4e3602c8fbf4ee62140f0745f2 /src/kernel-install
parentMerge pull request #30844 from keszybz/rename-uid-alloc-range (diff)
downloadsystemd-d1b1cf8f26fa5c520986103b67e56b261c5aa12c.tar.xz
systemd-d1b1cf8f26fa5c520986103b67e56b261c5aa12c.zip
kernel-install: fix memory leak
Diffstat (limited to 'src/kernel-install')
-rw-r--r--src/kernel-install/kernel-install.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel-install/kernel-install.c b/src/kernel-install/kernel-install.c
index 45f0c1e7a8..1cf0fa28f4 100644
--- a/src/kernel-install/kernel-install.c
+++ b/src/kernel-install/kernel-install.c
@@ -49,6 +49,7 @@ static bool arg_legend = true;
STATIC_DESTRUCTOR_REGISTER(arg_esp_path, freep);
STATIC_DESTRUCTOR_REGISTER(arg_xbootldr_path, freep);
STATIC_DESTRUCTOR_REGISTER(arg_root, freep);
+STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
STATIC_DESTRUCTOR_REGISTER(arg_image_policy, image_policy_freep);
typedef enum Action {