mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[mujs] Free attr_name
This commit is contained in:
parent
999a2c6de7
commit
1ed5cf1d86
@ -2529,6 +2529,7 @@ mjs_element_getAttributeNode(js_State *J)
|
||||
return;
|
||||
}
|
||||
exc = dom_element_get_attribute_node(el, attr_name, &attr);
|
||||
dom_string_unref(attr_name);
|
||||
|
||||
if (exc != DOM_NO_ERR || !attr) {
|
||||
js_pushnull(J);
|
||||
|
Loading…
Reference in New Issue
Block a user