From 62111d36be636428d97590f4e37d1e406022b42c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 7 Oct 2011 22:18:27 +0000 Subject: nsurl_ref returns the referenced nsurl. svn path=/trunk/netsurf/; revision=12991 --- desktop/browser.c | 3 +-- 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.3