summaryrefslogtreecommitdiffstats
path: root/xsettings/xsettings-common.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-09 18:44:49 +0000
committerOwen Taylor <otaylor@redhat.com>2002-10-09 18:44:49 +0000
commit35d9be8ed09b52d5a13dacd9ac98a4b3df139a67 (patch)
tree9ac08ccefb35d05fdf6a997a8d9a195808de9e75 /xsettings/xsettings-common.c
parent343c7e5072fd52093ab36576d4e8f74d468fb606 (diff)
downloadxdg-specs-35d9be8ed09b52d5a13dacd9ac98a4b3df139a67.tar.xz
Tue Oct 8 19:19:37 2002 Owen Taylor <otaylor@redhat.com>
* xsettings-common.c (xsettings_setting_free): Fre the setting name. (Anders Carlsson) * xsettings-client.c (xsettings_client_process_event): Be more selective about which manager client events we process. (Anders Carlsson) * xsettings-client.c (fetch_card8): Fix cut-and-paste bug (Jacob Berkman, bugzilla.gnome.org #73585) * xsettings-client.c (parse_settings): Suppress a signed-unsigned warning (David L. Cooper II bugzilla.gnome.org, #85853) * xsettings-client.h (enum): Remove trailing , (Miroslaw Dobrzanski-Neumann, bugzilla.gnome.org #72182)
Diffstat (limited to 'xsettings/xsettings-common.c')
-rw-r--r--xsettings/xsettings-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xsettings/xsettings-common.c b/xsettings/xsettings-common.c
index 7507714..3d74440 100644
--- a/xsettings/xsettings-common.c
+++ b/xsettings/xsettings-common.c
@@ -147,6 +147,9 @@ xsettings_setting_free (XSettingsSetting *setting)
{
if (setting->type == XSETTINGS_TYPE_STRING)
free (setting->data.v_string);
+
+ if (setting->name)
+ free (setting->name);
free (setting);
}