From c6f486bcd46834a523bc5ee3fdcfc32ff1143943 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Fri, 22 Jun 2007 18:43:13 +0000 Subject: input: missing close the channels(control/interrupt) when the auth fails --- input/server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input/server.c') 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); } -- cgit