2007-08-20  Matthias Clasen <mclasen@redhat.com>

	Fixes #467552

	* gnome-theme-info.c (gnome_theme_init): avoid double-freed for cursor
	theme infos.

svn path=/trunk/; revision=8023
This commit is contained in:
Matthias Clasen 2007-08-20 11:02:37 +00:00 committed by Rodrigo Moya
parent 9a9bb74cb5
commit 1c7188caa7
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2007-08-20 Matthias Clasen <mclasen@redhat.com>
Fixes #467552
* gnome-theme-info.c (gnome_theme_init): avoid double-freed for cursor
theme infos.
2007-08-17 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (read_cursor_fonts): fix double-free, and make

View file

@ -1943,8 +1943,8 @@ gnome_theme_init (gboolean *monitor_not_added)
meta_theme_hash_by_name = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
icon_theme_hash_by_uri = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
icon_theme_hash_by_name = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
cursor_theme_hash_by_uri = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
cursor_theme_hash_by_name = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
cursor_theme_hash_by_uri = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, NULL);
cursor_theme_hash_by_name = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, NULL);
theme_hash_by_uri = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
theme_hash_by_name = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);