From 8fdde3c22ff981f0c41b78d3640e3249873e8495 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 17 May 2019 10:46:40 -0400 Subject: Add a debug-CLI leak-checker leak-check { } Hint: "set term history off" or you'll have to sort through a bunch of bogus leaks related to the debug cli history mechanism. Cleaned up a set of reported leaks in the "show interface" command. At some point, we thought about making a per-thread vlib_mains vector, but we never did that. Several interface-related CLI's maintained local static cache vectors. Not a bad idea, but not useful as things shook out. Removed the static vectors. Change-Id: I756bf2721a0d91993ecfded34c79da406f30a548 Signed-off-by: Dave Barach --- src/vnet/vnet.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/vnet/vnet.h') diff --git a/src/vnet/vnet.h b/src/vnet/vnet.h index 9b2a8788752..3b20f71917b 100644 --- a/src/vnet/vnet.h +++ b/src/vnet/vnet.h @@ -81,7 +81,6 @@ typedef struct vnet_main_t } vnet_main_t; extern vnet_main_t vnet_main; -extern vnet_main_t **vnet_mains; #include #include -- cgit 1.2.3-korg