diff options
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r-- | desktop/hotlist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 683fdc4b1..ce9156308 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -24,7 +24,6 @@ #include <dom/bindings/hubbub/parser.h> #include "content/urldb.h" -#include "desktop/browser.h" #include "desktop/hotlist.h" #include "desktop/treeview.h" #include "utils/corestrings.h" @@ -1336,7 +1335,7 @@ nserror hotlist_add_entry(nsurl *url, const char *title, bool at_y, int y) if (title != NULL) { title = strdup(title); if (title == NULL) { - nsurl_ref(url); + nsurl_unref(url); return NSERROR_NOMEM; } } |