diff options
author | George Lebl <jirka@5z.com> | 2003-07-08 08:09:15 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2003-07-08 08:09:15 +0000 |
commit | 034edd9f55728ad515a46b4578f1cda4c10a44f5 (patch) | |
tree | ad2e67a4461216c3b3ae0a6fadeb2cf7994cbaa3 | |
parent | 61802ec74b1362c7ab4b645174d1dca45e491e6c (diff) | |
download | gdm-034edd9f55728ad515a46b4578f1cda4c10a44f5.tar.gz |
minor leak fixes in case auth file writes fail
Tue Jul 08 01:07:08 2003 George Lebl <jirka@5z.com>
* daemon/auth.c: minor leak fixes in case auth file writes fail
* gui/gdmsetup.c: properly unref the size group
* configure.in, NEWS: raise version, add NEWS
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | NEWS | 27 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | daemon/auth.c | 10 | ||||
-rw-r--r-- | gui/gdmsetup.c | 4 |
5 files changed, 50 insertions, 1 deletions
@@ -1,3 +1,11 @@ +Tue Jul 08 01:07:08 2003 George Lebl <jirka@5z.com> + + * daemon/auth.c: minor leak fixes in case auth file writes fail + + * gui/gdmsetup.c: properly unref the size group + + * configure.in, NEWS: raise version, add NEWS + Mon Jul 07 18:13:34 2003 George Lebl <jirka@5z.com> * gui/modules/dwellmouselistener.c, @@ -1,5 +1,32 @@ Ahh news... +2.4.2.97 stuff: + +- HIGify almost all the alert boxes. + +- Fix install of the sessions setup by creating the /etc/X11/dm + dir fixes #116836 + +- Fix DNS lookup stuff in XDMCP for places without DNS. Also cache + last result of DNS lookup to cut down traffic during session setup. + +- Checking for free display numbers was only taking into account + servers listening on tcp. + +- The .desktop files include correct Terminal and StartupNotify + entries (Jordi Mallach) + +- Fallback for home is now /tmp instead of / and for shell + we use /bin/sh consistently (rather then /bin/bash) + +- The full error dialog is now run as the gdm user for security + (no more gtk code run as root) + +- No translatable message contains unneccessary markup now + (fixes #101794 and #101795) + +- Random other minor fixes + 2.4.2.96 stuff: - When you log in twice on a different server, gdm warns you and if diff --git a/configure.in b/configure.in index bec8ba0e..6fb7edd8 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ dnl AC_PROG_INTLTOOL([0.21]) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(gdm,2.4.2.96) +AM_INIT_AUTOMAKE(gdm,2.4.2.97) AM_MAINTAINER_MODE GDK_PIXBUF_REQUIRED=1.3.1 diff --git a/daemon/auth.c b/daemon/auth.c index d1c86117..59e1afe4 100644 --- a/daemon/auth.c +++ b/daemon/auth.c @@ -115,6 +115,11 @@ add_auth_entry (GdmDisplay *d, FILE *af, FILE *af2, errno = 0; if ( ! XauWriteAuth (af, xa)) { + free (xa->data); + free (xa->number); + free (xa->name); + free (xa->address); + free (xa); display_add_error (d); return FALSE; } @@ -122,6 +127,11 @@ add_auth_entry (GdmDisplay *d, FILE *af, FILE *af2, if (af2 != NULL) { errno = 0; if ( ! XauWriteAuth (af2, xa)) { + free (xa->data); + free (xa->number); + free (xa->name); + free (xa->address); + free (xa); display_add_error (d); return FALSE; } diff --git a/gui/gdmsetup.c b/gui/gdmsetup.c index 70c60993..e0f6b71c 100644 --- a/gui/gdmsetup.c +++ b/gui/gdmsetup.c @@ -2011,6 +2011,7 @@ setup_gui (void) add_to_size_group (sg, "autologin_combo"); add_to_size_group (sg, "timedlogin_combo"); add_to_size_group (sg, "timedlogin_seconds"); + g_object_unref (G_OBJECT (sg)); sg = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); add_to_size_group (sg, "local_greeter_label"); @@ -2020,16 +2021,19 @@ setup_gui (void) add_to_size_group (sg, "autologin_label"); add_to_size_group (sg, "timed_login_label"); add_to_size_group (sg, "timedlogin_seconds_label"); + g_object_unref (G_OBJECT (sg)); sg = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); add_to_size_group (sg, "greeter_table"); add_to_size_group (sg, "autologin_table"); add_to_size_group (sg, "timed_login_table"); + g_object_unref (G_OBJECT (sg)); sg = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); add_to_size_group (sg, "sg_use_24_clock"); add_to_size_group (sg, "autologin"); add_to_size_group (sg, "timedlogin"); + g_object_unref (G_OBJECT (sg)); setup_user_combo ("autologin_combo", GDM_KEY_AUTOMATICLOGIN); |