mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
index fix
This commit is contained in:
parent
56fbbf5284
commit
7d5da826e9
1 changed files with 2 additions and 2 deletions
|
@ -661,7 +661,7 @@ ProcessCreateNotifyRoutine(_In_ HANDLE ParentId,
|
|||
return;
|
||||
|
||||
if (Create) {
|
||||
entry = RtlHashmapEntryInsert(map, ProcessId);
|
||||
entry = RtlHashmapEntryInsert(map, index);
|
||||
|
||||
if (!entry)
|
||||
goto end;
|
||||
|
@ -697,7 +697,7 @@ ProcessCreateNotifyRoutine(_In_ HANDLE ParentId,
|
|||
ImpObDereferenceObject(entry->process);
|
||||
|
||||
FreeProcessEntryModuleList(entry, NULL);
|
||||
RtlHashmapEntryDelete(map, ProcessId, &ProcessId);
|
||||
RtlHashmapEntryDelete(map, index, &ProcessId);
|
||||
}
|
||||
|
||||
end:
|
||||
|
|
Loading…
Reference in a new issue