mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleKernelLib: Fix LinkedVtables memory leak.
This commit is contained in:
parent
738c81e03f
commit
5e1df94834
@ -495,6 +495,11 @@ InternalFreePrelinkedKext (
|
||||
Kext->LinkedSymbolTable = NULL;
|
||||
}
|
||||
|
||||
if (Kext->LinkedVtables != NULL) {
|
||||
FreePool (Kext->LinkedVtables);
|
||||
Kext->LinkedVtables = NULL;
|
||||
}
|
||||
|
||||
FreePool (Kext);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user