From 2c636bc0a452a397525ae84f23456582662fc63d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 7 Oct 2011 21:49:29 +0000 Subject: [PATCH] Don't fetch favicons for (i)frames. svn path=/trunk/netsurf/; revision=12986 --- desktop/browser.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desktop/browser.c b/desktop/browser.c index e5142d88b..fd19a2681 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -953,6 +953,10 @@ static void browser_window_update_favicon(hlcache_handle *c, assert(c != NULL); assert(bw !=NULL); + + if (bw->window == NULL) + /* Not top-level browser window; not interested */ + return; /* already fetching the favicon - use that */ if (bw->loading_favicon != NULL)