add: if (filename == NULL) { return NULL; }
context: egg_recent_util_get_icon (GnomeIconTheme *theme, const gchar *uri,			  const gchar *mime_type, int size){	gchar *icon;	gchar *filename;	const GnomeIconData *icon_data;	int base_size;	GdkPixbuf *pixbuf;		icon = gnome_icon_lookup (theme, NULL, uri, NULL, NULL,				  mime_type, 0, NULL);		g_return_val_if_fail (icon != NULL, NULL);	filename = gnome_icon_theme_lookup_icon (theme, icon,						 size,						 &icon_data,						 &base_size);	g_free (icon);	pixbuf = load_icon_file (filename, base_size, size);	g_free (filename);			return pixbuf;}