Merge branch 'mmcco-freebsd-free'

This commit is contained in:
Hisham Muhammad 2016-01-04 18:09:22 -02:00
commit be6b0c2830
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;
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);