fib: multiple memory leaks upon deleting a VRF table
[vpp.git] / src / vnet / fib / ip4_fib.c
index a343c2b..8e580a5 100644 (file)
@@ -216,6 +216,7 @@ ip4_fib_table_destroy (u32 fib_index)
        hash_unset (ip4_main.fib_index_by_table_id, fib_table->ft_table_id);
     }
 
+    vec_free (fib_table->ft_locks);
     vec_free(fib_table->ft_src_route_counts);
     ip4_fib_table_free(v4_fib);
 
@@ -481,7 +482,7 @@ ip4_show_fib (vlib_main_t * vm,
  * entries for each table.
  *
  * @note This command will run for a long time when the FIB tables are
- * comprised of millions of entries. For those senarios, consider displaying
+ * comprised of millions of entries. For those scenarios, consider displaying
  * a single table or summary mode.
  *
  * @cliexpar