Skip to content
Snippets Groups Projects
Commit 7d6c74dd authored by cyan's avatar cyan
Browse files

Fix segfault on Linux in jsexec, too.

parent b71e55a9
No related branches found
No related tags found
No related merge requests found
......@@ -618,7 +618,7 @@ static BOOL js_init(char** environ)
js_startup_t startup;
memset(&startup,0,sizeof(startup));
startup.load_path=strListSplit(NULL, load_path_list, ",");
startup.load_path=strListSplitCopy(NULL, load_path_list, ",");
fprintf(statfp,"%s\n",(char *)JS_GetImplementationVersion());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment