Plug leak in FreeBSD backend, as noted by @mmcco in #334.

This commit is contained in:
Hisham Muhammad 2016-01-04 18:04:50 -02:00
parent 77cffaacf6
commit c5b9045f18
1 changed files with 1 additions and 0 deletions

View File

@ -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);