diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-09 14:41:24 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-09 21:47:53 -0500 |
commit | a644abed54bd4a42ebe2c99af5cc621ffbaf6c55 (patch) | |
tree | 9770099429144daa24cde7f33dbf788be2ec67d7 /src/test | |
parent | 4dfb18922d5d1efb13ee459cbf23832277f85ed7 (diff) |
systemctl: fix invalid free when enabling sysv services fails
The error was introduced in v215-343-g60731f32f1 'systemctl: do not
bother to mutate state on error', by causing strv_free to attempt to
free a static string. Simplify the whole thing by always keeping the
array in valid state.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions