mirror of https://github.com/xzeldon/htop.git
Merge branch 'freebsd-free' of https://github.com/mmcco/htop into mmcco-freebsd-free
This commit is contained in:
commit
f342a9eb83
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue