properly unlock object, preventing ugly crash with |if (foo in noFoo)|
git-svn-id: svn://10.0.0.236/trunk@49118 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1257,7 +1257,8 @@ js_Interpret(JSContext *cx, jsval *result)
|
||||
if (!ok)
|
||||
goto out;
|
||||
PUSH_OPND(BOOLEAN_TO_JSVAL(prop != NULL));
|
||||
OBJ_DROP_PROPERTY(cx, obj, prop);
|
||||
if (prop)
|
||||
OBJ_DROP_PROPERTY(cx, obj2, prop);
|
||||
break;
|
||||
#endif /* JS_HAS_IN_OPERATOR */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user