Update values for fields whose columns may appear later. Fixes #80.

This commit is contained in:
Hisham Muhammad
2014-05-03 17:49:05 -03:00
parent c3e66b2d81
commit f54a37b4a9
2 changed files with 20 additions and 15 deletions

View File

@ -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);
}