chiark / gitweb /
login: simplify controller handling
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 1 Sep 2014 12:04:44 +0000 (14:04 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 1 Sep 2014 12:04:44 +0000 (14:04 +0200)
commitb12e56156e5f363ebb8dc4ea5c10f5fd0665dc9d
tree3ebb2e33618c7e5c3da8a92d007a34aa20840af7
parent13f493dc9ace9861c1f27c4d37e8cd6d52fe6a32
login: simplify controller handling

Simplify the way we handler session-controllers and fix several
shortcomings:
 * send ReleaseDevice() signals on forced session takeover
 * fix mem-leaks for busnames in case VT preparation fails (non-critical)
 * avoid passing pre-allocated names to helpers
src/login/logind-session.c