mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[quickjs] Memleak in doctype
This commit is contained in:
parent
8797227b19
commit
83b3185e11
@ -1897,7 +1897,7 @@ js_doctype_finalizer(JSRuntime *rt, JSValue val)
|
||||
REF_JS(val);
|
||||
|
||||
dom_node *node = (dom_node *)JS_GetOpaque(val, js_doctype_class_id);
|
||||
attr_erase_from_map(map_doctypes, node);
|
||||
attr_erase_from_map_str(map_doctypes, node);
|
||||
|
||||
if (node) {
|
||||
dom_node_unref(node);
|
||||
|
Loading…
Reference in New Issue
Block a user