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
Memory is allocates for line_infos by get_line_infos, but the memory is never free'd.
line_infos
get_line_infos
Adding TINYOBJ_FREE(line_infos); at the end if the function solves this.
TINYOBJ_FREE(line_infos);
The text was updated successfully, but these errors were encountered:
line_infos are freed at here:
tinyobjloader-c/tinyobj_loader_c.h
Line 1402 in 574390b
but may be not free'ed in tinyobj_parse_and_index_mtl_file:
Line 824 in 574390b
You can send us PR!
Sorry, something went wrong.
Closed via #54
No branches or pull requests
Memory is allocates for
line_infos
byget_line_infos
, but the memory is never free'd.Adding
TINYOBJ_FREE(line_infos);
at the end if the function solves this.The text was updated successfully, but these errors were encountered: