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

This commit is contained in:
Igor Bukanov 2009-08-05 16:14:24 +02:00
Родитель 144903124e
Коммит b819bce8fc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;