diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-11 11:20:02 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-11 11:20:02 +0100 |
commit | d9e7d5810678c1470808c3de63f7bde412b3d17b (patch) | |
tree | 68d47410cb177d0125127ac186c2a05127b82097 /content | |
parent | 5a5eab9a1ea7bf6dd79420668c2c0df1a3ea88f5 (diff) | |
download | netsurf-d9e7d5810678c1470808c3de63f7bde412b3d17b.tar.gz netsurf-d9e7d5810678c1470808c3de63f7bde412b3d17b.tar.bz2 |
Fix up ripples from urldb change.
Diffstat (limited to 'content')
-rw-r--r-- | content/urldb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/urldb.c b/content/urldb.c index 975616cfb..7be508bef 100644 --- a/content/urldb.c +++ b/content/urldb.c @@ -1905,12 +1905,14 @@ struct path_data *urldb_find_url(nsurl *url) tree = urldb_get_search_tree(host_str); h = urldb_search_find(tree, host_str); if (!h) { + lwc_string_unref(scheme); return NULL; } /* generate plq (path, leaf, query) */ if (nsurl_get(url, NSURL_PATH | NSURL_QUERY, &plq, &len) != NSERROR_OK) { + lwc_string_unref(scheme); return NULL; } |