mirror of https://github.com/xzeldon/htop.git
Plug leak in FreeBSD backend, as noted by @mmcco in #334.
This commit is contained in:
parent
77cffaacf6
commit
c5b9045f18
|
@ -192,6 +192,7 @@ void ProcessList_delete(ProcessList* this) {
|
||||||
if (fpl->cp_time_n != NULL) free(fpl->cp_time_n);
|
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_o != NULL) free(fpl->cp_times_o);
|
||||||
if (fpl->cp_times_n != NULL) free(fpl->cp_times_n);
|
if (fpl->cp_times_n != NULL) free(fpl->cp_times_n);
|
||||||
|
free(fpl->cpus);
|
||||||
|
|
||||||
ProcessList_done(this);
|
ProcessList_done(this);
|
||||||
free(this);
|
free(this);
|
||||||
|
|
Loading…
Reference in New Issue