Fixing memory leak and zeroing on alloc.

This commit is contained in:
Ben Vanik
2014-01-19 01:51:57 -08:00
parent 268bbf105d
commit 71de4e77dc
4 changed files with 4 additions and 6 deletions

View File

@@ -76,7 +76,6 @@ X_STATUS HostPathEntry::QueryInfo(XFileInfo* out_info) {
X_STATUS HostPathEntry::QueryDirectory(
XDirectoryInfo* out_info, size_t length, bool restart) {
XEASSERTNOTNULL(out_info);
xe_zero_struct(out_info, length);
WIN32_FIND_DATA ffd;