summaryrefslogtreecommitdiffstats
path: root/input/server.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-06-22 18:43:13 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-06-22 18:43:13 +0000
commitc6f486bcd46834a523bc5ee3fdcfc32ff1143943 (patch)
tree359665a7c474534042f216d747d264dd31e19556 /input/server.c
parentb4427e24489d4aaf6768041cbb3b90353a285cfe (diff)
input: missing close the channels(control/interrupt) when the auth fails
Diffstat (limited to 'input/server.c')
-rw-r--r--input/server.c2
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);
}