Skip to content

Commit

Permalink
Merge pull request #19 from lightpanda-io/current-script-init
Browse files Browse the repository at this point in the history
doc: init current script w/ NULL
  • Loading branch information
krichprollsch authored Sep 25, 2024
2 parents 51c34d6 + 376c9e0 commit 279398b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/html/html_document.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ dom_exception _dom_html_document_initialise(dom_html_document *doc,
doc->url = NULL;
doc->cookie = NULL;
doc->body = NULL;
doc->current_script = NULL;

doc->memoised = calloc(sizeof(dom_string *), hds_COUNT);
if (doc->memoised == NULL) {
Expand Down

0 comments on commit 279398b

Please sign in to comment.