nsurl_ref returns the referenced nsurl.

svn path=/trunk/netsurf/; revision=12991
This commit is contained in:
Michael Drake 2011-10-07 22:18:27 +00:00
parent 7805550e82
commit 62111d36be

View File

@ -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) {