aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2021-10-04 11:29:08 +0200
committerDamjan Marion <dmarion@me.com>2021-10-04 18:39:15 +0000
commit7318c420d1bddd51ea69b433113ac843af2aee3b (patch)
tree4dff1d3f8fd358b39429d5dcce42083636f5886a /src
parent482394428b00dfabff4848305d896d2df8046af9 (diff)
interface: free the output_node_thread_runtimes
Type: fix output_node_thread_runtimes was not freed when an interface is deleted. This patch fixes it. Change-Id: I763b0109be1904d43839528a346f3b9aa8927205 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/interface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index 7b5d4d6df66..ad6d9ccfdb8 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -1113,6 +1113,7 @@ vnet_delete_hw_interface (vnet_main_t * vnm, u32 hw_if_index)
hash_unset_mem (im->hw_interface_by_name, hw->name);
vec_free (hw->name);
vec_free (hw->hw_address);
+ vec_free (hw->output_node_thread_runtimes);
pool_put (im->hw_interfaces, hw);
}