login: use free_and_replace() and TAKE_PTR()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 7 Aug 2018 01:10:12 +0000 (10:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 7 Aug 2018 01:10:12 +0000 (10:10 +0900)
commitfb2367edd943d37f418725c90498a940016e80bd
treeb8fa8338084d63285a7de80a1520efd98b68dd63
parent73e47c42ab5ec6b99de34c5e673f4fc3d5cf1b6e
login: use free_and_replace() and TAKE_PTR()
src/login/logind-session.c
src/login/logind-user.c