summaryrefslogtreecommitdiff
path: root/desktop/hotlist.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 22:41:04 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 22:41:04 +0100
commitcf8ffa412a55a8884fdd8f348b3fb28108d59b6c (patch)
treeff9a998daae20f16a3537d78bd141ea662863cf8 /desktop/hotlist.c
parente9f65ff9cb60c94b43d4b875892918b90fb2a067 (diff)
downloadnetsurf-cf8ffa412a55a8884fdd8f348b3fb28108d59b6c.tar.gz
netsurf-cf8ffa412a55a8884fdd8f348b3fb28108d59b6c.tar.bz2
Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
Diffstat (limited to 'desktop/hotlist.c')
-rw-r--r--desktop/hotlist.c3
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;
}
}