-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
file open here
Line 202 in 2585240
| file = fopen(input_file.c_str(), "rb"); |
a 'fclose(file);' should be add here:
Lines 211 to 214 in 2585240
| if (tell_file_size <= 0) { | |
| std::cerr << "Input file of incorrect size: " << input_file << std::endl; | |
| return {}; | |
| } |
Even if it is just a sample, close the file when the file pointer is not used as a better software engineering perspective.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working