We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is still one memory leak from C_user_main.cpp for the strdup in this line opts->output = strdup(optarg); bellow is a fix for it.
C_user_main.cpp
strdup
opts->output = strdup(optarg);
-------------------------- src/lrstar/PG_Generate.cpp -------------------------- index d72b551..a262076 100644 @@ -2561,6 +2561,7 @@ static void instantiate_main(FILE *fp, const char *grammar) " delete [] input_start;\n" " }\n\n" " fclose(output_fp);\n" + " free(options.output);\n" " return 0;\n" "}\n" "\n");
The text was updated successfully, but these errors were encountered:
Can you provide information about how you tested this patch?
Sorry, something went wrong.
No branches or pull requests
There is still one memory leak from
C_user_main.cpp
for thestrdup
in this lineopts->output = strdup(optarg);
bellow is a fix for it.The text was updated successfully, but these errors were encountered: