mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-09 20:21:14 +00:00
Fix missed closedir()
This commit is contained in:
parent
49d31613b9
commit
29a2175b7a
@ -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…
x
Reference in New Issue
Block a user