mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
(gtk trunk) possible fix for #2267: gdb says it's crashing in g_strfreev(). possibly the pointer being passed to g_strfreev() isn't initialized properly if the GThemedIcon's is NULL (or if somehow its "names" property isn't found).
This commit is contained in:
parent
3cdaeef78f
commit
2a7fe76098
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ get_themed_icon_pixbuf( GThemedIcon *icon,
|
|||
int size,
|
||||
GtkIconTheme *icon_theme )
|
||||
{
|
||||
char ** icon_names;
|
||||
char ** icon_names = NULL;
|
||||
GtkIconInfo * icon_info;
|
||||
GdkPixbuf * pixbuf;
|
||||
GError * error = NULL;
|
||||
|
|
Loading…
Reference in a new issue