diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2016-01-04 18:08:51 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2016-01-04 18:08:51 -0200 |
commit | f342a9eb83b5a0844500ca4f7fa5e9b8c89532ff (patch) | |
tree | 0958d8ba5520eba3ec85c916230cd4e28e691085 | |
parent | c5b9045f1863b1ad86c95320b87858b9ac2018fd (diff) | |
parent | 61f2d674b03b6c4c538be5b42684e209ecc18504 (diff) |
Merge branch 'freebsd-free' of https://github.com/mmcco/htop into mmcco-freebsd-free
-rw-r--r-- | freebsd/FreeBSDProcessList.c | 8 |
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); |