Add missing node unref

This commit is contained in:
Daniel Silverstone 2015-08-12 12:27:18 +02:00
parent 2c7dfe0d3d
commit 3a6da36fc9

View File

@ -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;
} }