null
This commit is contained in:
parent
3466a55c41
commit
fe4260e8f0
@ -118,10 +118,12 @@ void * sus_fileFileToMemroy(sus_File file){
|
||||
}
|
||||
|
||||
void sus_fileClose(sus_File file){
|
||||
if(file->memroy == NULL){
|
||||
FlushViewOfFile(file->memroy, 0);
|
||||
UnmapViewOfFile(file->memroy);
|
||||
CloseHandle(file->fileMapHandle);
|
||||
CloseHandle(file->fileHandle);
|
||||
}
|
||||
sus_heapFree(file);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user