Properly free memory after reading a file
Tutti i controlli sono stati effettuati con successo
Builds / ExectOS (amd64) (push) Successful in 39s
Builds / ExectOS (i686) (push) Successful in 38s

This commit is contained in:
Rafal Kupiec 2024-04-30 12:27:27 +02:00
parent e86313603a
commit 5a013e3ab5
Firmato da: belliash
ID Chiave GPG: 4E829243E0CFE6B4

Vedi File

@ -633,7 +633,7 @@ BlReadFile(IN PEFI_FILE_HANDLE DirHandle,
/* Close handle and free memory */ /* Close handle and free memory */
FileHandle->Close(FileHandle); FileHandle->Close(FileHandle);
BlFreeMemoryPool(&FileInfo); BlFreeMemoryPool(FileInfo);
/* Return success */ /* Return success */
return STATUS_EFI_SUCCESS; return STATUS_EFI_SUCCESS;