summaryrefslogtreecommitdiff
path: root/gui/gdmsetup.c
diff options
context:
space:
mode:
authorBrian Cameron <Brian.Cameron@sun.com>2005-09-07 00:48:11 +0000
committerBrian Cameron <bcameron@src.gnome.org>2005-09-07 00:48:11 +0000
commit9819635acce1283ed0c1b2828eba95a4906522f6 (patch)
tree18734ed95f6a46beb3773590a268dca7cac0c6e0 /gui/gdmsetup.c
parent42a1e22ca742bc2d4e9b5ac79d39209ebbe73474 (diff)
downloadgdm-9819635acce1283ed0c1b2828eba95a4906522f6.tar.gz
Correct memory leaks. Fixes bug #315388, patch by Ray Strode with minor
2005-09-06 Brian Cameron <Brian.Cameron@sun.com> * daemon/auth.c, daemon/gdm.c, daemon/slave.c, daemon/verify-pam.c, gui/gdmchooser.c, gui/gdmcomm.c, gui/gdmdynamic.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsetup.c, gui/greeter/greeter.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_session.c, gui/modules/keymouselistener.c, utils/gdm-dmx-reconnect-proxy.c, vicious-extensions/vc-misc.c: Correct memory leaks. Fixes bug #315388, patch by Ray Strode with minor tweaks by myself.
Diffstat (limited to 'gui/gdmsetup.c')
-rw-r--r--gui/gdmsetup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/gdmsetup.c b/gui/gdmsetup.c
index d14d283c..be2bc10e 100644
--- a/gui/gdmsetup.c
+++ b/gui/gdmsetup.c
@@ -337,6 +337,7 @@ xservers_get_servers (GtkListStore *store)
int vt = atoi(key);
key = g_strconcat(GDM_KEY_SECTION_SERVERS, "/", key, NULL);
cpy = ve_config_get_string (cfg, key);
+ g_free (key);
server = ve_first_word (cpy);
options = ve_rest (cpy);