diff options
Diffstat (limited to 'src/core/document.c')
-rw-r--r-- | src/core/document.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/document.c b/src/core/document.c index 74fb534..ad25bd7 100644 --- a/src/core/document.c +++ b/src/core/document.c @@ -76,13 +76,14 @@ static dom_exception dom_document_dup_node(dom_document *doc, * \param pw Pointer to client-specific private data * \param doc Pointer to location to receive created document * \param daf The default action fetcher + * \param daf The default action fetcher * \return DOM_NO_ERR on success, DOM_NO_MEM_ERR on memory exhaustion. * * ::impl will have its reference count increased. * * The returned document will already be referenced. */ -dom_exception dom_document_create(struct dom_implementation *impl, +dom_exception _dom_document_create(struct dom_implementation *impl, dom_alloc alloc, void *pw, dom_events_default_action_fetcher daf, struct dom_document **doc) @@ -186,6 +187,8 @@ bool _dom_document_finalise(struct dom_document *doc) lwc_string_unref(doc->id_name); _dom_document_event_internal_finalise(doc, &doc->dei); + + _dom_document_event_internal_finalise(doc, &doc->dei); return true; } |