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 144903124e
commit b819bce8fc

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;