Fix missed closedir()

This commit is contained in:
Adam Ierymenko 2015-04-14 15:17:59 -07:00
parent 49d31613b9
commit 29a2175b7a

View file

@ -106,6 +106,8 @@ std::map<std::string,bool> OSUtils::listDirectory(const char *path)
r[std::string(dptr->d_name)] = (dptr->d_type == DT_DIR); r[std::string(dptr->d_name)] = (dptr->d_type == DT_DIR);
} else break; } else break;
} }
closedir(d);
#endif #endif
return r; return r;