chiark / gitweb /
login: fix memory-leak on DropController()
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 22 Aug 2014 12:57:11 +0000 (14:57 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 27 Aug 2014 16:42:28 +0000 (18:42 +0200)
commit60240797a4ce464ec7a0537ccbec4c83f599251c
treeb417f3297524cd0479b3cc93379c5865594fc8cd
parentfb835651aff79a1e7fc5795086c9b26e59a8e6ca
login: fix memory-leak on DropController()

Our bus-name watch helpers only remove a bus-name if it's not a
controller, anymore. If we call manager_drop_busname() before
unregistering the controller, the busname will not be dropped. Therefore,
first drop the controller, then drop the bus-name.
src/login/logind-session.c