Browse Source

Fix missed closedir()

pull/1/head
Adam Ierymenko 11 years ago
parent
commit
29a2175b7a
  1. 2
      osdep/OSUtils.cpp

2
osdep/OSUtils.cpp

@ -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);
} else break;
}
closedir(d);
#endif
return r;

Loading…
Cancel
Save