From: Zbigniew Jędrzejewski-Szmek Date: Mon, 31 May 2021 09:12:16 +0000 (+0200) Subject: systemctl: put static destructor in the order of variables X-Git-Tag: v249-rc1~124^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b42227edb78193294d8096d39751b5fa45985e7;p=thirdparty%2Fsystemd.git systemctl: put static destructor in the order of variables --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 16c1f394407..a4100bd554b 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -112,11 +112,11 @@ bool arg_read_only = false; bool arg_mkdir = false; bool arg_marked = false; -STATIC_DESTRUCTOR_REGISTER(arg_wall, strv_freep); -STATIC_DESTRUCTOR_REGISTER(arg_root, freep); STATIC_DESTRUCTOR_REGISTER(arg_types, strv_freep); STATIC_DESTRUCTOR_REGISTER(arg_states, strv_freep); STATIC_DESTRUCTOR_REGISTER(arg_properties, strv_freep); +STATIC_DESTRUCTOR_REGISTER(arg_wall, strv_freep); +STATIC_DESTRUCTOR_REGISTER(arg_root, freep); STATIC_DESTRUCTOR_REGISTER(arg_clean_what, strv_freep); static int systemctl_help(void) {