Merge branch 'freebsd-free' of https://github.com/mmcco/htop into mmcco-freebsd-free

This commit is contained in:
Hisham Muhammad 2016-01-04 18:08:51 -02:00
commit f342a9eb83
1 changed files with 4 additions and 4 deletions

View File

@ -188,10 +188,10 @@ void ProcessList_delete(ProcessList* this) {
const FreeBSDProcessList* fpl = (FreeBSDProcessList*) this; const FreeBSDProcessList* fpl = (FreeBSDProcessList*) this;
if (fpl->kd) kvm_close(fpl->kd); if (fpl->kd) kvm_close(fpl->kd);
if (fpl->cp_time_o != NULL) free(fpl->cp_time_o); free(fpl->cp_time_o);
if (fpl->cp_time_n != NULL) free(fpl->cp_time_n); free(fpl->cp_time_n);
if (fpl->cp_times_o != NULL) free(fpl->cp_times_o); free(fpl->cp_times_o);
if (fpl->cp_times_n != NULL) free(fpl->cp_times_n); free(fpl->cp_times_n);
free(fpl->cpus); free(fpl->cpus);
ProcessList_done(this); ProcessList_done(this);