Jung-uk Kim 645eaa2cca libkvm: Plug couple of memory leaks and check possible calloc(3) failure
First, r204494 introduced dpcpu_off in struct __kvm and it was allocated
from _kvm_dpcpu_init() but it was not free(3)'ed from kvm_close(3).
Second, r291406 introduced kvm_nlist2(3) and converted kvm_nlist(3) to
use the new function but it did not free the temporary buffer.
Also, check possible calloc(3) failure while I am in the neighborhood.

MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D29019
2021-03-03 18:10:00 -05:00
..
2019-07-16 16:02:20 +00:00
2020-02-17 15:11:07 +00:00
2020-02-06 13:21:59 +00:00
2020-02-06 13:21:59 +00:00
2020-02-06 13:21:59 +00:00
2019-12-11 17:37:53 +00:00