summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Process.c b/Process.c
index 7e94bb04..757b7402 100644
--- a/Process.c
+++ b/Process.c
@@ -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);
}