From: Neale Ranns Date: Tue, 19 Dec 2017 15:00:09 +0000 (-0800) Subject: FIB memory leak during recursive loop detection X-Git-Tag: v18.04-rc0~14 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=4bc2d7ab3990aa8c819cd8134d029aa0d5e5b0d7 FIB memory leak during recursive loop detection Change-Id: I5ecd43330b3329b072e6da62a4eed1641eb17f8f Signed-off-by: Neale Ranns --- diff --git a/src/vnet/fib/fib_path_list.c b/src/vnet/fib/fib_path_list.c index 763f0921ab2..e9eaa75a08e 100644 --- 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);