]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: use cleanup function for UnitStatusInfo
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 25 Jul 2016 15:53:14 +0000 (11:53 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 25 Jul 2016 15:53:14 +0000 (11:53 -0400)
commita733551846bcb2c7f46cc68bbc2e5741e653fbef
treed9b914ec935536881b3a0926d8b0809442563b5b
parent3d391fa84f0b0f5708246848c713f2d52eaf92fe
systemctl: use cleanup function for UnitStatusInfo

There is no functional change, but clarity of the code is increased
by splitting out the cleanup part and putting it next to the structure
definition.
src/systemctl/systemctl.c