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;
|
return;
|
||||||
|
|
||||||
if (Create) {
|
if (Create) {
|
||||||
entry = RtlHashmapEntryInsert(map, ProcessId);
|
entry = RtlHashmapEntryInsert(map, index);
|
||||||
|
|
||||||
if (!entry)
|
if (!entry)
|
||||||
goto end;
|
goto end;
|
||||||
|
@ -697,7 +697,7 @@ ProcessCreateNotifyRoutine(_In_ HANDLE ParentId,
|
||||||
ImpObDereferenceObject(entry->process);
|
ImpObDereferenceObject(entry->process);
|
||||||
|
|
||||||
FreeProcessEntryModuleList(entry, NULL);
|
FreeProcessEntryModuleList(entry, NULL);
|
||||||
RtlHashmapEntryDelete(map, ProcessId, &ProcessId);
|
RtlHashmapEntryDelete(map, index, &ProcessId);
|
||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
|
Loading…
Reference in a new issue