summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-05-11 17:19:31 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-18 09:54:56 +0000
commit96fdd790f300209030d519a71856bab1ba3317b8 (patch)
tree3241abcdc0e1b9de161759e39cc9175121f3b737 /src
parenta316c17d9ec3d859eea86368ed465d96ac44701b (diff)
vcl: de-init vcl on destroy
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If3372e3edd403240c2c9da746246170549a3e644 (cherry picked from commit 69d97256d5ca5b06b4399d8369a7a4c3b544a94d)
Diffstat (limited to 'src')
-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 0b61c5eb304..8b8d320da63 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -1122,6 +1122,7 @@ vppcom_app_destroy (void)
munmap (mspace_least_addr (heap), mi.arena);
vcm = &_vppcom_main;
+ vcm->is_init = 0;
}
int