From 6898e5cb89fcd40837e3ee8a1a5cbd0218474b12 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 1 Jul 2019 08:57:42 -0700 Subject: svm: fix shm segment delete Type:fix Change-Id: Ia8f3496bf24a7dbe0a295b038aa6dfa24f034989 Signed-off-by: Florin Coras --- src/svm/ssvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/svm') diff --git a/src/svm/ssvm.c b/src/svm/ssvm.c index d629afc4ad0..605b692e91f 100644 --- a/src/svm/ssvm.c +++ b/src/svm/ssvm.c @@ -213,7 +213,7 @@ ssvm_delete_shm (ssvm_private_t * ssvm) vec_free (fn); vec_free (ssvm->name); - munmap ((void *) ssvm->requested_va, ssvm->ssvm_size); + munmap ((void *) ssvm->sh, ssvm->ssvm_size); } /** -- cgit 1.2.3-korg