mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
fix: add missing file handle close
Related-To: NEO-8092 Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1142c9b061
commit
f931c25307
@@ -85,6 +85,8 @@ size_t findNextFileACalled = 0u;
|
||||
extern const size_t findNextFileAFileDataCount = 4;
|
||||
WIN32_FIND_DATAA findNextFileAFileData[findNextFileAFileDataCount];
|
||||
|
||||
size_t findCloseCalled = 0u;
|
||||
|
||||
size_t getFileAttributesCalled = 0u;
|
||||
DWORD getFileAttributesResult = TRUE;
|
||||
|
||||
@@ -250,6 +252,7 @@ BOOL findNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData) {
|
||||
}
|
||||
|
||||
BOOL findClose(HANDLE hFindFile) {
|
||||
findCloseCalled++;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user