diff options
-rw-r--r-- | src/core/document.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/document.c b/src/core/document.c index 4e2bf6b..fda83dd 100644 --- a/src/core/document.c +++ b/src/core/document.c @@ -127,6 +127,7 @@ dom_exception _dom_document_initialise(dom_document *doc, err = dom_string_create_interned((const uint8_t *) "about:blank", SLEN("about:blank"), &doc->uri); if (err != DOM_NO_ERR) { + dom_string_unref(name); return err; } |