diff options
-rw-r--r-- | lib/libkvm/kvm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 418a15d..e9d5a78 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -290,6 +290,10 @@ kvm_close(kd) _kvm_freevtop(kd); if (kd->procbase != 0) free((void *)kd->procbase); + if (kd->argbuf != 0) + free((void *) kd->argbuf); + if (kd->argspc != 0) + free((void *) kd->argspc); if (kd->argv != 0) free((void *)kd->argv); free((void *)kd); |