summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2016-01-04 18:08:51 -0200
committerHisham Muhammad <hisham@gobolinux.org>2016-01-04 18:08:51 -0200
commitf342a9eb83b5a0844500ca4f7fa5e9b8c89532ff (patch)
tree0958d8ba5520eba3ec85c916230cd4e28e691085
parentc5b9045f1863b1ad86c95320b87858b9ac2018fd (diff)
parent61f2d674b03b6c4c538be5b42684e209ecc18504 (diff)
Merge branch 'freebsd-free' of https://github.com/mmcco/htop into mmcco-freebsd-free
-rw-r--r--freebsd/FreeBSDProcessList.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/freebsd/FreeBSDProcessList.c b/freebsd/FreeBSDProcessList.c
index 6eec1a03..66e8321a 100644
--- a/freebsd/FreeBSDProcessList.c
+++ b/freebsd/FreeBSDProcessList.c
@@ -188,10 +188,10 @@ void ProcessList_delete(ProcessList* this) {
const FreeBSDProcessList* fpl = (FreeBSDProcessList*) this;
if (fpl->kd) kvm_close(fpl->kd);
- if (fpl->cp_time_o != NULL) free(fpl->cp_time_o);
- if (fpl->cp_time_n != NULL) free(fpl->cp_time_n);
- if (fpl->cp_times_o != NULL) free(fpl->cp_times_o);
- if (fpl->cp_times_n != NULL) free(fpl->cp_times_n);
+ free(fpl->cp_time_o);
+ free(fpl->cp_time_n);
+ free(fpl->cp_times_o);
+ free(fpl->cp_times_n);
free(fpl->cpus);
ProcessList_done(this);

© 2014-2024 Faster IT GmbH | imprint | privacy policy