don't leak the cursor font
2007-08-17 Jens Granseuer <jensgr@gmx.net> * gnome-theme-info.c: (read_cursor_fonts): don't leak the cursor font svn path=/trunk/; revision=8010
This commit is contained in:
parent
f75bc5d892
commit
3b08e16e7f
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-08-17 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* gnome-theme-info.c: (read_cursor_fonts): don't leak the cursor font
|
||||
|
||||
2007-08-12 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* theme-thumbnail.c: (create_folder_icon),
|
||||
|
|
|
@ -1796,7 +1796,7 @@ read_current_cursor_font (void)
|
|||
static void
|
||||
read_cursor_fonts (void)
|
||||
{
|
||||
gchar* cursor_font;
|
||||
gchar *cursor_font;
|
||||
gint i;
|
||||
|
||||
static const gchar* builtins[][4] = {
|
||||
|
@ -1849,6 +1849,8 @@ read_cursor_fonts (void)
|
|||
g_hash_table_insert (cursor_theme_hash_by_uri, theme_info->path, theme_info);
|
||||
add_data_to_hash_by_name (cursor_theme_hash_by_name, theme_info->name, theme_info);
|
||||
}
|
||||
|
||||
g_free (cursor_font);
|
||||
}
|
||||
#endif /* !HAVE_XCURSOR */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue