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

index 84d45316d4094ffd339afcfa4c80ead864d75f16..53370c9f6e4238a13f26ae7ddd6e773942d37c34 100644 (file)
@@ -67,6 +67,8 @@ static bool arg_all = false;
 static ImagePolicy *arg_image_policy = NULL;
 
 STATIC_DESTRUCTOR_REGISTER(arg_debugger_args, strv_freep);
+STATIC_DESTRUCTOR_REGISTER(arg_root, freep);
+STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
 STATIC_DESTRUCTOR_REGISTER(arg_file, strv_freep);
 STATIC_DESTRUCTOR_REGISTER(arg_image_policy, image_policy_freep);