aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xllama_util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llama_util.h b/llama_util.h
index ee9b2a6..eba1465 100755
--- a/llama_util.h
+++ b/llama_util.h
@@ -202,7 +202,6 @@ struct llama_mmap {
HANDLE hMapping = CreateFileMappingA(hFile, NULL, PAGE_READONLY, 0, 0, NULL);
DWORD error = GetLastError();
- CloseHandle(hFile);
if (hMapping == NULL) {
throw format("CreateFileMappingA failed: %s", llama_format_win_err(error).c_str());