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
Hi, when I use someone else's code, then it's only fair for me to help out if I spot a problem with it.
Your code has memory leak for function "int ff7_read_field_file" Line 626 in file.cpp
Specifically, you allocate memory and then allow the possibility of a return without freeing memory.
uint32_t size = lgp_get_filesize(lgp_file, 1); char* dest = (char*)driver_malloc(size); char* original_field_data = (char*)driver_malloc(*ff7_externals.known_field_buffer_size); if ( !ff7_externals.field_file_buffer ) return 0;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, when I use someone else's code, then it's only fair for me to help out if I spot a problem with it.
Your code has memory leak for function "int ff7_read_field_file"
Line 626 in file.cpp
Specifically, you allocate memory and then allow the possibility of a return without freeing memory.
uint32_t size = lgp_get_filesize(lgp_file, 1);
char* dest = (char*)driver_malloc(size);
char* original_field_data = (char*)driver_malloc(*ff7_externals.known_field_buffer_size);
if ( !ff7_externals.field_file_buffer ) return 0;
The text was updated successfully, but these errors were encountered: