mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Update values for fields whose columns may appear later. Fixes #80.
This commit is contained in:
@ -663,9 +663,9 @@ static void Process_display(Object* cast, RichString* out) {
|
||||
void Process_delete(Object* cast) {
|
||||
Process* this = (Process*) cast;
|
||||
assert (this != NULL);
|
||||
if (this->comm) free(this->comm);
|
||||
free(this->comm);
|
||||
#ifdef HAVE_CGROUP
|
||||
if (this->cgroup) free(this->cgroup);
|
||||
free(this->cgroup);
|
||||
#endif
|
||||
free(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user