Follow-up fix for the follow-up fix for 465460 (r=me, again).

This commit is contained in:
Andreas Gal 2008-12-16 21:19:00 -08:00
parent 74a6ad1f62
commit 954913ca57

View File

@ -3017,7 +3017,7 @@ Snarf(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
} }
fclose(file); fclose(file);
} }
JS_free(cx, pathname); JS_free(cx, (void*)pathname);
if (!ok) { if (!ok) {
JS_free(cx, buf); JS_free(cx, buf);
return ok; return ok;