mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
Add some missing unrefs
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
2c49123a27
commit
cdc7713662
@ -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;
|
||||
%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user