From 410274173d434e34a5eb085d13228d68cd44d509 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 22 Jan 2016 20:30:12 +0000 Subject: Unref document uri on finalisation. --- src/core/document.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/document.c') 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); -- cgit v1.2.3