[gdm/display-configuration] Remove two time duplicated server->priv->log_dir to avoid memory leak.



commit e23d6beb99c97dcafb67fd691acc90f512553098
Author: Halton Huo <halton huo sun com>
Date:   Thu Jun 3 12:47:30 2010 +0800

    Remove two time duplicated server->priv->log_dir to avoid memory leak.

 daemon/gdm-server.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c
index 757ef62..4c1f374 100644
--- a/daemon/gdm-server.c
+++ b/daemon/gdm-server.c
@@ -980,7 +980,6 @@ gdm_server_new (const char *display_id)
         server = GDM_SERVER (object);
 
         server->priv->pid = -1;
-        server->priv->log_dir = g_strdup (LOGDIR);
 
         g_assert (server->priv->display_id != NULL);
 



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