1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[quickjs] Do not FreeValue

This commit is contained in:
Witold Filipczyk 2024-05-07 17:32:46 +02:00
parent 786469da5f
commit 948c22ea79
2 changed files with 0 additions and 4 deletions

View File

@ -1476,7 +1476,6 @@ js_document_getElementsByTagName(JSContext *ctx, JSValueConst this_val, int argc
return JS_NULL;
}
JSValue rr = getNodeList(ctx, nodes);
JS_FreeValue(ctx, rr);
RETURN_JS(rr);
}

View File

@ -242,7 +242,6 @@ js_element_get_property_children(JSContext *ctx, JSValueConst this_val)
return JS_NULL;
}
JSValue rr = getNodeList(ctx, nodes);
JS_FreeValue(ctx, rr);
RETURN_JS(rr);
}
@ -295,7 +294,6 @@ js_element_get_property_childNodes(JSContext *ctx, JSValueConst this_val)
return JS_NULL;
}
JSValue rr = getNodeList(ctx, nodes);
JS_FreeValue(ctx, rr);
RETURN_JS(rr);
}
@ -2559,7 +2557,6 @@ js_element_getElementsByTagName(JSContext *ctx, JSValueConst this_val, int argc,
return JS_NULL;
}
JSValue rr = getNodeList(ctx, nlist);
JS_FreeValue(ctx, rr);
RETURN_JS(rr);
}