diff options
Diffstat (limited to 'javascript/jsapi/htmlcollection.bnd')
-rw-r--r-- | javascript/jsapi/htmlcollection.bnd | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/javascript/jsapi/htmlcollection.bnd b/javascript/jsapi/htmlcollection.bnd index a7947cd29..f4a11549b 100644 --- a/javascript/jsapi/htmlcollection.bnd +++ b/javascript/jsapi/htmlcollection.bnd @@ -82,4 +82,10 @@ operation namedItem %{ jsret = jsapi_new_HTMLElement(cx, NULL, NULL, (dom_element *)domnode, private->htmlc); } - %} +%} + +api finalise %{ + if (private != NULL) { + dom_html_collection_unref(private->collection); + } +%} |