refactoring

This commit is contained in:
Boring
2022-10-11 07:47:31 +08:00
parent d1787b1dbe
commit e64ee25bac
15 changed files with 364 additions and 897 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ BOOL MemoryFreeLibrary(HMEMORYMODULE mod) {
PIMAGE_NT_HEADERS headers = RtlImageNtHeader(mod);
if (!module) return FALSE;
if (module->loadFromNtLoadDllMemory && !module->underUnload)return FALSE;
if (module->loadFromLdrLoadDllMemory && !module->underUnload)return FALSE;
if (module->hModulesList) {
for (DWORD i = 0; i < module->dwModulesCount; ++i) {
if (module->hModulesList[i]) {