]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
firstboot: fix memory leak 30870/head
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 10 Jan 2024 16:31:49 +0000 (17:31 +0100)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 10 Jan 2024 16:31:49 +0000 (17:31 +0100)
src/firstboot/firstboot.c

index a445323f9b03acf401325cb6caa34e24dbf9e296..18a7cb83b97d62a28e86a6c552900f2ced9495f7 100644 (file)
@@ -89,6 +89,8 @@ STATIC_DESTRUCTOR_REGISTER(arg_keymap, freep);
 STATIC_DESTRUCTOR_REGISTER(arg_timezone, freep);
 STATIC_DESTRUCTOR_REGISTER(arg_hostname, freep);
 STATIC_DESTRUCTOR_REGISTER(arg_root_password, erase_and_freep);
+STATIC_DESTRUCTOR_REGISTER(arg_root_shell, freep);
+STATIC_DESTRUCTOR_REGISTER(arg_kernel_cmdline, freep);
 STATIC_DESTRUCTOR_REGISTER(arg_image_policy, image_policy_freep);
 
 static bool press_any_key(void) {