Don't free data we don't own. Prevents crash when changing themes.
2007-05-13 Thomas Wood <thos@gnome.org> * appearance-themes.c: (theme_thumbnail_func): Don't free data we don't own. Prevents crash when changing themes. svn path=/trunk/; revision=7617
This commit is contained in:
parent
fc7b01eb53
commit
0b671b7b69
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-05-13 Thomas Wood <thos@gnome.org>
|
||||
|
||||
* appearance-themes.c: (theme_thumbnail_func): Don't free data we don't own.
|
||||
Prevents crash when changing themes.
|
||||
|
||||
2007-05-13 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* appearance-themes.c: (themes_init), (theme_thumbnail_generate),
|
||||
|
|
|
@ -154,7 +154,6 @@ theme_thumbnail_func (GdkPixbuf *pixbuf, struct theme_thumbnail_func_data *data)
|
|||
}
|
||||
|
||||
data->list = g_list_remove (data->list, info);
|
||||
gnome_theme_meta_info_free (info);
|
||||
|
||||
if (data->list)
|
||||
/* we can't call theme_thumbnail_generate directly since the thumbnail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue