OcAppleKernelLib: Fix LinkedVtables memory leak.

This commit is contained in:
Download-Fritz 2019-03-27 20:06:49 +01:00
parent 738c81e03f
commit 5e1df94834

View File

@ -495,6 +495,11 @@ InternalFreePrelinkedKext (
Kext->LinkedSymbolTable = NULL;
}
if (Kext->LinkedVtables != NULL) {
FreePool (Kext->LinkedVtables);
Kext->LinkedVtables = NULL;
}
FreePool (Kext);
}