Free the setting name.

2002-02-07  Anders Carlsson  <andersca@gnu.org>

	* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
	the setting name.
This commit is contained in:
Anders Carlsson 2002-02-07 04:06:16 +00:00 committed by Anders Carlsson
parent ae3a7b12d6
commit a166fcbeac
8 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-02-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
the setting name.
Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org>
Fixes #70708

View File

@ -1,3 +1,8 @@
2002-02-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
the setting name.
Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org>
Fixes #70708

View File

@ -1,3 +1,8 @@
2002-02-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
the setting name.
Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org>
Fixes #70708

View File

@ -1,3 +1,8 @@
2002-02-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
the setting name.
Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org>
Fixes #70708

View File

@ -1,3 +1,8 @@
2002-02-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
the setting name.
Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org>
Fixes #70708

View File

@ -1,3 +1,8 @@
2002-02-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
the setting name.
Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org>
Fixes #70708

View File

@ -1,3 +1,8 @@
2002-02-07 Anders Carlsson <andersca@gnu.org>
* gdk/x11/xsettings-common.c (xsettings_setting_free): Free
the setting name.
Wed Feb 6 23:28:39 2002 Kristian Rietveld <kris@gtk.org>
Fixes #70708

View File

@ -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);
}