mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-07-27 21:02:04 +08:00
read_files_in_dir: closedir before return (#20903)
This commit is contained in:
@@ -83,6 +83,7 @@ int read_files_in_dir(std::string path, std::map<std::string, std::string> *cont
|
||||
}
|
||||
}
|
||||
|
||||
closedir(d);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user