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
(from parent 1:
5e30ace
)
FIB memory leak during recursive loop detection
77/9877/2
author
Neale Ranns
<nranns@cisco.com>
Tue, 19 Dec 2017 15:00:09 +0000
(07:00 -0800)
committer
Chris Luke
<chris_luke@comcast.com>
Tue, 19 Dec 2017 18:43:32 +0000
(18:43 +0000)
Change-Id: I5ecd43330b3329b072e6da62a4eed1641eb17f8f
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/fib/fib_path_list.c
patch
|
blob
|
history
diff --git
a/src/vnet/fib/fib_path_list.c
b/src/vnet/fib/fib_path_list.c
index
763f092
..
e9eaa75
100644
(file)
--- a/
src/vnet/fib/fib_path_list.c
+++ b/
src/vnet/fib/fib_path_list.c
@@
-1204,6
+1204,8
@@
fib_path_list_recursive_loop_detect (fib_node_index_t path_list_index,
is_looped = fib_path_recursive_loop_detect(*path_index, copy_ptr);
list_looped += is_looped;
+
+ vec_free(copy);
}
FIB_PATH_LIST_DBG(path_list, "loop-detect: eval:%d", eval);