aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-05-11 17:19:31 +0000
committerDave Barach <openvpp@barachs.net>2020-05-12 14:07:15 +0000
commit69d97256d5ca5b06b4399d8369a7a4c3b544a94d (patch)
tree80b43eb71ca4bd75336f12ad1bf5afe4427aabc8
parentf2fe353cc829f2074d63ebba9bb3b25e5ceb20af (diff)
vcl: de-init vcl on destroy
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If3372e3edd403240c2c9da746246170549a3e644
-rw-r--r--src/vcl/vppcom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 6b690e5d1d0..2c01589bab5 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -1254,6 +1254,7 @@ vppcom_app_destroy (void)
munmap (mspace_least_addr (heap), mi.arena);
vcm = &_vppcom_main;
+ vcm->is_init = 0;
}
int