From 1f836924ce0f5046318f34e940888a63f1b9b6ff Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 4 Jan 2006 18:04:51 +0000 Subject: [PATCH] kvm_close --- src/os/darwin/darwin_sigar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index 35ddaf64..98c7c3d7 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -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; }