]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
kernel-install: fix memory leak
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 10 Jan 2024 08:20:15 +0000 (09:20 +0100)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 10 Jan 2024 08:20:15 +0000 (09:20 +0100)
src/kernel-install/kernel-install.c

index 45f0c1e7a8cc297f67a751599097d7ae4470fda1..1cf0fa28f454ae2a5c2c8b6f52a893199426b02a 100644 (file)
@@ -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 {