Commit 7a657269 authored by rswindell's avatar rswindell
Browse files

Added comment where MSVC detected a heap corruption. Needs to be looked into

by whomever wrote js_internal_charfunc().
parent f5ee5bb9
......@@ -2467,7 +2467,7 @@ js_internal_charfunc(JSContext *cx, uintN argc, jsval *arglist, char *(*func)(ch
return(JS_TRUE);
js_str = JS_NewStringCopyZ(cx, func(str));
free(str);
free(str); /* MSVC detected heap corruption here! */
if(js_str==NULL)
return(JS_FALSE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment