mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
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_times_o != NULL) free(fpl->cp_times_o);
|
||||
if (fpl->cp_times_n != NULL) free(fpl->cp_times_n);
|
||||
free(fpl->cpus);
|
||||
|
||||
ProcessList_done(this);
|
||||
free(this);
|
||||
|
Loading…
Reference in New Issue
Block a user