summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-auth.c')
-rw-r--r--dbus/dbus-auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index 324391ea..8125a8ed 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -610,6 +610,8 @@ send_rejected (DBusAuth *auth)
_dbus_string_get_length (&auth->outgoing)))
goto nomem;
+ shutdown_mech (auth);
+
_dbus_assert (DBUS_AUTH_IS_SERVER (auth));
server_auth = DBUS_AUTH_SERVER (auth);
server_auth->failures += 1;