summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
Diffstat (limited to 'bus')
-rw-r--r--bus/connection.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/connection.c b/bus/connection.c
index 89d80ddb..512a2311 100644
--- a/bus/connection.c
+++ b/bus/connection.c
@@ -1306,6 +1306,8 @@ bus_connection_complete (DBusConnection *connection,
BUS_SET_OOM (error);
dbus_free (d->name);
d->name = NULL;
+ bus_client_policy_unref (d->policy);
+ d->policy = NULL;
return FALSE;
}
}