summaryrefslogtreecommitdiff
path: root/src/test/test-strv.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-09 14:41:24 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-09 21:47:53 -0500
commita644abed54bd4a42ebe2c99af5cc621ffbaf6c55 (patch)
tree9770099429144daa24cde7f33dbf788be2ec67d7 /src/test/test-strv.c
parent4dfb18922d5d1efb13ee459cbf23832277f85ed7 (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/test-strv.c')
0 files changed, 0 insertions, 0 deletions