Created attachment 222928 [details]
Plug memory leaks from kvm_nlist(3) using kvm_nlist2(3)
A user reported net-snmp is leaking memory. I found the root cause is kvm(3) itself. Please see the following review request:
The attached patch should work around the problem until we fix the root cause on all supported versions.
I found another memory leak in libkvm but it is hard to work around from ports. I am going to deal with the problem from src level.
Unfortunately, it will take some time to trickle down to releng/*. :-(