From: Antonio Alvarez Feijoo Date: Wed, 10 Jan 2024 16:31:49 +0000 (+0100) Subject: firstboot: fix memory leak X-Git-Tag: v256-rc1~1210^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f464e7419dddf33afcee4b00204abddc247171e;p=thirdparty%2Fsystemd.git firstboot: fix memory leak --- diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index a445323f9b0..18a7cb83b97 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -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) {