Plug a leak. Bug #376949

2006-12-08  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-wp-xml.c: (gnome_wp_xml_load_list): Plug a leak.
	Bug #376949
This commit is contained in:
Kjartan Maraas 2006-12-08 17:49:43 +00:00 committed by Kjartan Maraas
parent 6a31b18343
commit 838f592678
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-12-08 Kjartan Maraas <kmaraas@gnome.org>
* gnome-wp-xml.c: (gnome_wp_xml_load_list): Plug a leak.
Bug #376949
2006-08-18 Rodney Dawes <dobey@novell.com>
* background.desktop.in.in: Use preferences-desktop-wallpaper as the

View file

@ -266,6 +266,7 @@ void gnome_wp_xml_load_list (GnomeWPCapplet * capplet) {
if (g_file_test (wpdbfile, G_FILE_TEST_EXISTS)) {
gnome_wp_xml_load_xml (capplet, wpdbfile);
} else {
g_free (wpdbfile);
wpdbfile = g_build_filename (g_get_home_dir (),
".gnome2",
"wp-list.xml",