From d9e7d5810678c1470808c3de63f7bde412b3d17b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 11 Oct 2012 11:20:02 +0100 Subject: Fix up ripples from urldb change. --- content/urldb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'content/urldb.c') 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; } -- cgit v1.2.3