mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
Add missing node unref
This commit is contained in:
parent
2c7dfe0d3d
commit
3a6da36fc9
@ -176,6 +176,7 @@ method Document::getElementById()
|
|||||||
|
|
||||||
if (element != NULL) {
|
if (element != NULL) {
|
||||||
dukky_push_node(ctx, (dom_node *)element);
|
dukky_push_node(ctx, (dom_node *)element);
|
||||||
|
dom_node_unref(element);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user