]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: fix potential memleak on failure in determine_default()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 18 Oct 2022 14:08:24 +0000 (23:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Oct 2022 09:55:11 +0000 (18:55 +0900)
commit5905bddce27ec76793bec4ae458b6d471698b372
tree8aa7cc421422322bc171774923506cba5ef0c143
parent4856f63846fc794711e1b8ec970e4c56494cd320
systemctl: fix potential memleak on failure in determine_default()

And make verb_set_default() return zero on success.
src/systemctl/systemctl-set-default.c