mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Plug leak in FreeBSD backend, as noted by @mmcco in #334.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user