Skip to content
Snippets Groups Projects
Commit cd997ea3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resource cleanup on exit (when no module specified)

Eliminates a SANITIZE build error
parent beca0e62
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4544 passed
......@@ -1450,6 +1450,7 @@ int main(int argc, char **argv, char** env)
if(module==NULL && js_buf==NULL && isatty(fileno(stdin))) {
fprintf(stderr,"\n!No JavaScript module-name or expression specified\n");
usage();
iniFreeStringList(ini);
return(do_bail(1));
}
......
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