X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_path_list.c;fp=src%2Fvnet%2Ffib%2Ffib_path_list.c;h=e9eaa75a08e4404fa63eab258c765ac82361fd7b;hb=4bc2d7ab3990aa8c819cd8134d029aa0d5e5b0d7;hp=763f0921ab26cee304342c83d722436e22536d41;hpb=5e30aceb3a619e71ae081c7dd55b40122e7bfbea;p=vpp.git 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);