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:
parent
6a31b18343
commit
838f592678
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
2006-08-18 Rodney Dawes <dobey@novell.com>
|
||||||
|
|
||||||
* background.desktop.in.in: Use preferences-desktop-wallpaper as the
|
* background.desktop.in.in: Use preferences-desktop-wallpaper as the
|
||||||
|
|
|
@ -266,6 +266,7 @@ void gnome_wp_xml_load_list (GnomeWPCapplet * capplet) {
|
||||||
if (g_file_test (wpdbfile, G_FILE_TEST_EXISTS)) {
|
if (g_file_test (wpdbfile, G_FILE_TEST_EXISTS)) {
|
||||||
gnome_wp_xml_load_xml (capplet, wpdbfile);
|
gnome_wp_xml_load_xml (capplet, wpdbfile);
|
||||||
} else {
|
} else {
|
||||||
|
g_free (wpdbfile);
|
||||||
wpdbfile = g_build_filename (g_get_home_dir (),
|
wpdbfile = g_build_filename (g_get_home_dir (),
|
||||||
".gnome2",
|
".gnome2",
|
||||||
"wp-list.xml",
|
"wp-list.xml",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue