diff options
author | Ray Strode <halfline@hawaii.rr.com> | 2004-01-01 10:39:20 +0000 |
---|---|---|
committer | Ray Strode <halfline@src.gnome.org> | 2004-01-01 10:39:20 +0000 |
commit | 62d4aace14478622c77d6ac6711ca2f15671442e (patch) | |
tree | fcb683b93005aec03b18525760c6d1e952ff0804 | |
parent | 52d3c899342ae81270b8cf984466163c00e83134 (diff) | |
download | gdm-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | gui/gdmcomm.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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!*/ { |