mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
Log download: fix memory leak in generating the list
This commit is contained in:
@@ -586,6 +586,8 @@ LogListHelper::_scan_logs(FILE *f, const char *dir, time_t &date)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
closedir(dp);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user