bug 493457 - followup - fixing a typo in the patch.

This commit is contained in:
Igor Bukanov 2009-08-05 16:14:24 +02:00
parent 9c938dd547
commit 2e4416c672

View File

@ -5431,7 +5431,7 @@ regexp_compile_sub(JSContext *cx, JSObject *obj, uintN argc, jsval *argv,
return JS_FALSE;
}
JS_LOCK_OBJ(cx, obj2);
re = (JSRegExp *) obj->getPrivate();
re = (JSRegExp *) obj2->getPrivate();
if (!re) {
JS_UNLOCK_OBJ(cx, obj2);
return JS_FALSE;