From d1b1cf8f26fa5c520986103b67e56b261c5aa12c Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Wed, 10 Jan 2024 09:20:15 +0100 Subject: kernel-install: fix memory leak --- src/kernel-install/kernel-install.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel-install') 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 { -- cgit v1.2.3