Skip to content
Snippets Groups Projects
Commit 351ad120 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 8bf4fc44
No related branches found
No related tags found
No related merge requests found
......@@ -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