diff --git a/Library/OcAppleKernelLib/PrelinkedKext.c b/Library/OcAppleKernelLib/PrelinkedKext.c index c9f77d8b..cf18a5e9 100644 --- a/Library/OcAppleKernelLib/PrelinkedKext.c +++ b/Library/OcAppleKernelLib/PrelinkedKext.c @@ -495,6 +495,11 @@ InternalFreePrelinkedKext ( Kext->LinkedSymbolTable = NULL; } + if (Kext->LinkedVtables != NULL) { + FreePool (Kext->LinkedVtables); + Kext->LinkedVtables = NULL; + } + FreePool (Kext); }