1
0
Fork 0
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:
Charles Kerr 2009-08-11 19:36:11 +00:00
parent 3cdaeef78f
commit 2a7fe76098

View file

@ -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;