]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/main.c
tree-wide: take benefit of the fact that hashmap_free() returns NULL
[thirdparty/systemd.git] / src / core / main.c
index be95dc68b25c95a46276587e14876ccd986fce85..c9657505c34a26112ad0c4e2c7b971e5652d5cf4 100644 (file)
@@ -1846,8 +1846,7 @@ finish:
 
         arg_default_environment = strv_free(arg_default_environment);
 
-        set_free(arg_syscall_archs);
-        arg_syscall_archs = NULL;
+        arg_syscall_archs = set_free(arg_syscall_archs);
 
         mac_selinux_finish();