mirror of https://github.com/xzeldon/htop.git
Minor tweak.
This commit is contained in:
parent
a8f45d5743
commit
a26ef71ed8
|
@ -612,8 +612,7 @@ void ProcessList_processEntries(ProcessList* this, char* dirname, int parent, fl
|
|||
}
|
||||
|
||||
if (!existingProcess) {
|
||||
process = Process_clone(process);
|
||||
ProcessList_add(this, process);
|
||||
ProcessList_add(this, Process_clone(process));
|
||||
}
|
||||
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue