mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:46:41 +00:00
Driver: PsTree: Fix procs_map handling
This commit is contained in:
parent
eeed5eca90
commit
fef1af8861
@ -163,12 +163,12 @@ static PFORT_PSNODE fort_pstree_proc_new(
|
||||
tommy_arrayof_grow(procs, index + 1);
|
||||
|
||||
proc_node = tommy_arrayof_ref(procs, index);
|
||||
|
||||
++ps_tree->procs_n;
|
||||
}
|
||||
|
||||
tommy_hashdyn_insert(procs_map, proc_node, ps_name, pid_hash);
|
||||
|
||||
++ps_tree->procs_n;
|
||||
|
||||
return (PFORT_PSNODE) proc_node;
|
||||
}
|
||||
|
||||
@ -219,8 +219,6 @@ static void fort_pstree_handle_new_proc(PFORT_PSTREE ps_tree, PCUNICODE_STRING p
|
||||
return;
|
||||
}
|
||||
|
||||
proc->pid_hash = pid_hash;
|
||||
|
||||
proc->process_id = processId;
|
||||
proc->parent_process_id = parentProcessId;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user