summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c3
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) {