summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <halfline@hawaii.rr.com>2004-01-01 10:39:20 +0000
committerRay Strode <halfline@src.gnome.org>2004-01-01 10:39:20 +0000
commit62d4aace14478622c77d6ac6711ca2f15671442e (patch)
treefcb683b93005aec03b18525760c6d1e952ff0804
parent52d3c899342ae81270b8cf984466163c00e83134 (diff)
downloadgdm-62d4aace14478622c77d6ac6711ca2f15671442e.tar.gz
Plug small leak.
Thu Jan 01 10:39:00 2004 Ray Strode <halfline@hawaii.rr.com> * gui/gdmcomm.c (gdmcomm_get_display): Plug small leak.
-rw-r--r--ChangeLog4
-rw-r--r--gui/gdmcomm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a6ed141..4753b8d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jan 01 10:39:00 2004 Ray Strode <halfline@hawaii.rr.com>
+
+ * gui/gdmcomm.c (gdmcomm_get_display): Plug small leak.
+
Wed Dec 31 09:57:18 2003 George Lebl <jirka@5z.com>
* Makefile.am: add the damn OrigTree.pm file here to make intltool
diff --git a/gui/gdmcomm.c b/gui/gdmcomm.c
index 42802a48..b7ab7d7f 100644
--- a/gui/gdmcomm.c
+++ b/gui/gdmcomm.c
@@ -189,7 +189,7 @@ gdmcomm_get_display (void)
static char *display = NULL;
if (display == NULL) {
- display = g_strdup (gdk_get_display ());
+ display = gdk_get_display ();
if (display == NULL) {
display = g_strdup (g_getenv ("DISPLAY"));
if (display == NULL) /*eek!*/ {