summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-01-22 20:30:12 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-01-22 20:30:12 +0000
commit410274173d434e34a5eb085d13228d68cd44d509 (patch)
treee5472802940e0a1f738bac26797f6bb11011b0a3 /src/core
parent418da4cef720b72bfee797d584933ed689f2e74a (diff)
downloadlibdom-410274173d434e34a5eb085d13228d68cd44d509.tar.gz
libdom-410274173d434e34a5eb085d13228d68cd44d509.tar.bz2
Unref document uri on finalisation.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/document.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/document.c b/src/core/document.c
index fda83dd..14fd1b9 100644
--- a/src/core/document.c
+++ b/src/core/document.c
@@ -319,6 +319,7 @@ bool _dom_document_finalise(dom_document *doc)
if (doc->id_name != NULL)
dom_string_unref(doc->id_name);
+ dom_string_unref(doc->uri);
dom_string_unref(doc->class_string);
dom_string_unref(doc->script_string);
dom_string_unref(doc->_memo_empty);