diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-06-22 18:43:13 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-06-22 18:43:13 +0000 |
commit | c6f486bcd46834a523bc5ee3fdcfc32ff1143943 (patch) | |
tree | 359665a7c474534042f216d747d264dd31e19556 | |
parent | b4427e24489d4aaf6768041cbb3b90353a285cfe (diff) |
input: missing close the channels(control/interrupt) when the auth fails
-rw-r--r-- | input/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/input/server.c b/input/server.c index 0f04b06a..19f5378c 100644 --- a/input/server.c +++ b/input/server.c @@ -95,6 +95,8 @@ static void authorization_callback(DBusPendingCall *pcall, void *data) cancel_authorization(addr); } + input_device_close_channels(&auth->src, &auth->dst); + dbus_error_free(&derr); dbus_message_unref(reply); } |