diff options
-rw-r--r-- | desktop/browser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index fd19a2681..b442a224b 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1008,8 +1008,7 @@ static void browser_window_update_favicon(hlcache_handle *c, return; } } else { - nsurl = link->href; - nsurl_ref(nsurl); + nsurl = nsurl_ref(link->href); } if (link == NULL) { |