mirror of https://github.com/xzeldon/htop.git
Fix deletion of processes. Closes #172.
This commit is contained in:
parent
0a184b769f
commit
39a725abc2
|
@ -35,7 +35,7 @@ LinuxProcess* LinuxProcess_new(ProcessList* pl) {
|
|||
}
|
||||
|
||||
void LinuxProcess_delete(Object* cast) {
|
||||
LinuxProcess* this = (LinuxProcess*) this;
|
||||
LinuxProcess* this = (LinuxProcess*) cast;
|
||||
Process_done((Process*)cast);
|
||||
free(this);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue