logind: modernize Manager object allocation and freeing
authorLennart Poettering <lennart@poettering.net>
Tue, 24 Apr 2018 16:13:12 +0000 (18:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 27 Apr 2018 16:11:13 +0000 (18:11 +0200)
commit234621685353763ac3bea63a916df757bf06a8a6
tree8a91d3bee48ed574aa4e0a3f311081ec3ca0c6a1
parentd1a1f0aaf0d2f08c60d1e0d32e646439d99f58dc
logind: modernize Manager object allocation and freeing

Let's propagate errors correctly, and stick to the usual naming and
behaviour of these functions. Or in other words, make this closer to the
matching code in machined.
src/login/logind-core.c
src/login/logind.c