Skip to content
Snippets Groups Projects
Commit b580def0 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix spurious call to JS_THIS_OBJECT()

This appears to be why valgrind on FreeBSD was failing.
You can't actually call this in a constructor because creating
this is the whole point of calling it.
parent f05b4c80
No related branches found
No related tags found
No related merge requests found
Pipeline #8059 failed
......@@ -3105,7 +3105,7 @@ JSClass js_file_class = {
static JSBool
js_file_constructor(JSContext *cx, uintN argc, jsval *arglist)
{
JSObject * obj = JS_THIS_OBJECT(cx, arglist);
JSObject * obj;
jsval * argv = JS_ARGV(cx, arglist);
JSString* str;
private_t* p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment