[gdm/multi-stack: 12/17] Plug leak
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Subject: [gdm/multi-stack: 12/17] Plug leak
- Date: Tue, 3 Mar 2009 13:31:30 -0500 (EST)
commit 64518f7e8f4655b42222ff1211a748312fd472ec
Author: Ray Strode <rstrode redhat com>
Date: Mon Mar 2 13:31:31 2009 -0500
Plug leak
---
gui/simple-greeter/gdm-greeter-login-window.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index 45babd0..6bd2707 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -905,11 +905,11 @@ gdm_greeter_login_window_conversation_stopped (GdmGreeterLoginWindow *login_wind
*/
task = gdm_task_list_get_active_task (GDM_TASK_LIST (login_window->priv->conversation_list));
- if (gdm_task_is_enabled (task)) {
- g_object_unref (task);
- } else {
+ if (!gdm_task_is_enabled (task)) {
+ g_debug ("GdmGreeterLoginWindow: No conversations left, starting over");
restart_conversations (login_window);
}
+ g_object_unref (task);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]