diff options
author | Ray Strode <rstrode@redhat.com> | 2014-09-30 13:17:22 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2014-09-30 13:19:14 -0400 |
commit | 9181419e471acbc0b3600eacd0c4513830a76ea3 (patch) | |
tree | 5ec0e8e4db70f7f10f1e59891a72656cc792b3b7 | |
parent | 2ec9233170a75a39a9619147519e89503ac8f51e (diff) | |
download | gdm-9181419e471acbc0b3600eacd0c4513830a76ea3.tar.gz |
daemon: don't allow worker manager interface to be unexported more than once
if a conversation is stopped asynchronously and then synchronously, we
will end up trying to unexport the bus interface more than once, leading
to log spew.
This commit protects against that.
https://bugzilla.gnome.org/show_bug.cgi?id=737391
-rw-r--r-- | daemon/gdm-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index 406e42ea..319b3633 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -1871,6 +1871,7 @@ close_conversation (GdmSessionConversation *conversation) if (conversation->worker_manager_interface != NULL) { unexport_worker_manager_interface (self, conversation->worker_manager_interface); + g_clear_object (&conversation->worker_manager_interface); } if (conversation->worker_proxy != NULL) { |