summaryrefslogtreecommitdiffstats
path: root/src/svm
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-07-01 08:57:42 -0700
committerJohn Lo <loj@cisco.com>2019-07-02 19:45:07 +0000
commit6898e5cb89fcd40837e3ee8a1a5cbd0218474b12 (patch)
tree90564031ef353b670aef8de51efffbed0cb30989 /src/svm
parent9683c1eceb8529ef5133670efd4a465eb5a740c8 (diff)
svm: fix shm segment delete
Type:fix Change-Id: Ia8f3496bf24a7dbe0a295b038aa6dfa24f034989 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm')
-rw-r--r--src/svm/ssvm.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/**