read_files_in_dir: closedir before return (#20903)

old-commit-hash: c08ee575f8
vw-mqb-aeb
Dean Lee 4 years ago committed by GitHub
parent 8559ab5ebd
commit badc577e1d
  1. 1
      selfdrive/common/util.cc

@ -83,6 +83,7 @@ int read_files_in_dir(std::string path, std::map<std::string, std::string> *cont
} }
} }
closedir(d);
return 0; return 0;
} }

Loading…
Cancel
Save