kvm_close

This commit is contained in:
Doug MacEachern 2006-01-04 18:04:51 +00:00
parent 2849023f3f
commit 1f836924ce
1 changed files with 3 additions and 0 deletions

View File

@ -197,6 +197,9 @@ int sigar_os_close(sigar_t *sigar)
if (sigar->pinfo) {
free(sigar->pinfo);
}
if (sigar->kmem) {
kvm_close(sigar->kmem);
}
free(sigar);
return SIGAR_OK;
}