Don't leak the cursor theme name. Closes bug #314692.

2005-09-16  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-settings-font.c: (load_xcursor_theme): Don't leak
	the cursor theme name. Closes bug #314692.
This commit is contained in:
Kjartan Maraas 2005-09-16 17:25:15 +00:00 committed by Kjartan Maraas
parent 4608b226d3
commit 068c86e89c
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-09-16 Kjartan Maraas <kmaraas@gnome.org>
* gnome-settings-font.c: (load_xcursor_theme): Don't leak
the cursor theme name. Closes bug #314692.
2005-09-14 Ray Strode <rstrode@redhat.com>
* gnome-settings-mouse.c: previous patch breaks the build,

View file

@ -40,6 +40,7 @@ load_xcursor_theme (GConfClient *client)
gnome_settings_daemon_spawn_with_input (add, add_string->str);
g_free (cursor_theme);
g_string_free (add_string, TRUE);
}