Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/c07b2edd7783a3c03145180126d3d6dcbfaba604
...commit
http://git.netsurf-browser.org/netsurf.git/commit/c07b2edd7783a3c03145180126d3d6dcbfaba604
...tree
http://git.netsurf-browser.org/netsurf.git/tree/c07b2edd7783a3c03145180126d3d6dcbfaba604
The branch, master has been updated
via c07b2edd7783a3c03145180126d3d6dcbfaba604 (commit)
from 9c32564085de877b9fd98aeddc09812fe9b6efb5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=c07b2edd7783a3c03145180126d3d6dcbfaba604
commit c07b2edd7783a3c03145180126d3d6dcbfaba604
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
Document.bnd: createDocumentFragment() unref fragment
The pushed fragment node holds the reference, so unref it in
the end of createDocumentFragment()
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/content/handlers/javascript/duktape/Document.bnd
b/content/handlers/javascript/duktape/Document.bnd
index 0246fdf..bd02068 100644
--- a/content/handlers/javascript/duktape/Document.bnd
+++ b/content/handlers/javascript/duktape/Document.bnd
@@ -198,6 +198,8 @@ method Document::createDocumentFragment()
dukky_push_node(ctx, (dom_node *)frag);
+ dom_node_unref(frag); /* The pushed node holds the reference now */
+
return 1;
%}
-----------------------------------------------------------------------
Summary of changes:
content/handlers/javascript/duktape/Document.bnd | 2 ++
1 file changed, 2 insertions(+)
diff --git a/content/handlers/javascript/duktape/Document.bnd
b/content/handlers/javascript/duktape/Document.bnd
index 0246fdf..bd02068 100644
--- a/content/handlers/javascript/duktape/Document.bnd
+++ b/content/handlers/javascript/duktape/Document.bnd
@@ -198,6 +198,8 @@ method Document::createDocumentFragment()
dukky_push_node(ctx, (dom_node *)frag);
+ dom_node_unref(frag); /* The pushed node holds the reference now */
+
return 1;
%}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org