From 3a6da36fc99f2a478af95ba1329cb95a9fc3edc4 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Wed, 12 Aug 2015 12:27:18 +0200 Subject: [PATCH] Add missing node unref --- javascript/duktape/Document.bnd | 1 + 1 file changed, 1 insertion(+) diff --git a/javascript/duktape/Document.bnd b/javascript/duktape/Document.bnd index 5541f1a24..6d11ea9c8 100644 --- a/javascript/duktape/Document.bnd +++ b/javascript/duktape/Document.bnd @@ -176,6 +176,7 @@ method Document::getElementById() if (element != NULL) { dukky_push_node(ctx, (dom_node *)element); + dom_node_unref(element); return 1; }