[gdm/wip/slave-display-merger: 1/29] manager: always call gdm_display_unmanage before finish



commit 5ac838523549bc305740aaf000965e30b4c23618
Author: Ray Strode <rstrode redhat com>
Date:   Tue Feb 3 14:20:54 2015 -0500

    manager: always call gdm_display_unmanage before finish
    
    We need to clean up various resources before finishing the display.

 daemon/gdm-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 684e462..388f999 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1253,6 +1253,7 @@ set_up_greeter_session (GdmManager *manager,
         if (!gdm_get_pwent_for_name (allowed_user, &passwd_entry)) {
                 g_warning ("GdmManager: couldn't look up username %s",
                            allowed_user);
+                gdm_display_unmanage (display);
                 gdm_display_finish (display);
                 return;
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]