fix leak
2007-08-11 Jens Granseuer <jensgr@gmx.net> * theme-installer.c: (gnome_theme_install_from_uri): fix leak svn path=/trunk/; revision=7986
This commit is contained in:
parent
7de103f0b6
commit
6b148c2959
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-08-11 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* theme-installer.c: (gnome_theme_install_from_uri): fix leak
|
||||
|
||||
2007-08-09 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* appearance-themes.c: (theme_drag_data_received_cb),
|
||||
|
|
|
@ -564,9 +564,11 @@ gnome_theme_install_from_uri (const gchar *filename, GtkWindow *parent)
|
|||
}
|
||||
g_free (base);
|
||||
|
||||
path = NULL;
|
||||
do {
|
||||
gchar *file_tmp;
|
||||
|
||||
g_free (path);
|
||||
file_tmp = g_strdup_printf (template, rand ());
|
||||
path = g_build_filename (g_get_home_dir (), ".themes", file_tmp, NULL);
|
||||
g_free (file_tmp);
|
||||
|
|
Loading…
Add table
Reference in a new issue