diff options
Diffstat (limited to 'content/handlers/javascript/duktape/Event.bnd')
-rw-r--r-- | content/handlers/javascript/duktape/Event.bnd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/handlers/javascript/duktape/Event.bnd b/content/handlers/javascript/duktape/Event.bnd index 2d0d6a548..aa69daac3 100644 --- a/content/handlers/javascript/duktape/Event.bnd +++ b/content/handlers/javascript/duktape/Event.bnd @@ -54,6 +54,8 @@ getter Event::target () if (exc != DOM_NO_ERR) return 0; dukky_push_node(ctx, et); + + dom_node_unref(et); return 1; %} @@ -67,6 +69,8 @@ getter Event::currentTarget () if (exc != DOM_NO_ERR) return 0; dukky_push_node(ctx, et); + + dom_node_unref(et); return 1; %} |