mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 399199: jsfile.c fails to compile, patch by Jeff Watkins <jeff.watkins.spam@gmail.com> r=crowder, a=not part of the build
This commit is contained in:
parent
27fa0e59fe
commit
c148f44b48
@ -2059,7 +2059,7 @@ file_toURL(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
urlChars = js_InflateString(cx, url, &len);
|
||||
if (!urlChars)
|
||||
return JS_FALSE;
|
||||
str = js_NewString(cx, urlChars, len, 0);
|
||||
str = js_NewString(cx, urlChars, len);
|
||||
if (!str) {
|
||||
JS_free(cx, urlChars);
|
||||
return JS_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user