-
Notifications
You must be signed in to change notification settings - Fork 20.6k
Resource leak in srxl.cpp #8640
Copy link
Copy link
Closed
Description
Issue details
A FILE pointer variable (*f) is declared at line 460 of ardupilot-Copter-3.6/libraries/AP_HAL/utility/srxl.cpp.
But, the file stream is not closed.
Adding the following a statement at line 513 resolved the issue for me:
fclose(f);
Version
ardupilot-Copter-3.6
Platform
[V] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
Airframe type
Hardware type
Logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels