Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4823944
)
interface: free the output_node_thread_runtimes
40/33940/2
author
Mohsin Kazmi
<sykazmi@cisco.com>
Mon, 4 Oct 2021 09:29:08 +0000
(11:29 +0200)
committer
Damjan Marion
<dmarion@me.com>
Mon, 4 Oct 2021 18:39:15 +0000
(18:39 +0000)
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>
src/vnet/interface.c
patch
|
blob
|
history
diff --git
a/src/vnet/interface.c
b/src/vnet/interface.c
index
7b5d4d6
..
ad6d9cc
100644
(file)
--- 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);
}