[gdm/wip/xserver-in-session: 2/54] manager: always call gdm_display_unmanage before finish



commit e404b8b2e7f1a649f80ede51517a2ca85f92b348
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 a54931d..112ce71 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1256,6 +1256,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]