mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Follow up fix for bug 623435. (r=brendan)
This commit is contained in:
parent
07bf6c5ab7
commit
e7ce40632d
@ -252,6 +252,7 @@ bool
|
||||
RegExp::parseFlags(JSContext *cx, JSString *flagStr, uintN *flagsOut)
|
||||
{
|
||||
size_t n = flagStr->length();
|
||||
Anchor<JSString *> afs(flagStr);
|
||||
const jschar *s = flagStr->getChars(cx);
|
||||
if (!s)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user