]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: edit: fix double free of instanced name
authorRonan Pigott <ronan@rjp.ie>
Sat, 18 Feb 2023 20:03:07 +0000 (13:03 -0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 Feb 2023 22:07:15 +0000 (07:07 +0900)
commitfe5cb7a7aec49cdc77d02e109dde81293e4566a0
tree9f7bb33e5e49c54a2ad897fe0c38d718f52f4f53
parentdb4691961ca52759fe6645d0fddb659ee4299ac2
systemctl: edit: fix double free of instanced name

There is a double free of unit_name when an instance is used, causing
systemctl --user edit service@instance to abort.
src/systemctl/systemctl-edit.c