summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_arm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libkvm/kvm_arm.c')
-rw-r--r--lib/libkvm/kvm_arm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libkvm/kvm_arm.c b/lib/libkvm/kvm_arm.c
index 6e4cfb600f9..98d4fe79803 100644
--- a/lib/libkvm/kvm_arm.c
+++ b/lib/libkvm/kvm_arm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_arm.c,v 1.8 2013/03/28 16:27:31 deraadt Exp $ */
+/* $OpenBSD: kvm_arm.c,v 1.9 2015/12/19 18:40:30 mmcc Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -69,10 +69,8 @@
void
_kvm_freevtop(kvm_t *kd)
{
- if (kd->vmst != NULL) {
- free(kd->vmst);
- kd->vmst = NULL;
- }
+ free(kd->vmst);
+ kd->vmst = NULL;
}
int