summaryrefslogtreecommitdiff
path: root/lib/table.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-11-01 18:57:53 -0200
committerRenato Westphal <renato@opensourcerouting.org>2016-11-28 16:15:27 -0200
commit58ac32e2d598b5dc45fa05b7a8a85b107571d697 (patch)
treef55826dc4efaec046bd339e19bcfb13cdf672ae2 /lib/table.c
parent0c6262ed6a2941c063aa2cf40107ef6b45d8628a (diff)
zebra/lib: plug several memleaks
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/table.c')
-rw-r--r--lib/table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/table.c b/lib/table.c
index d0e084ead2..5133ef6974 100644
--- a/lib/table.c
+++ b/lib/table.c
@@ -494,7 +494,7 @@ route_table_count (const struct route_table *table)
*
* Default function for creating a route node.
*/
-static struct route_node *
+struct route_node *
route_node_create (route_table_delegate_t *delegate,
struct route_table *table)
{
@@ -508,7 +508,7 @@ route_node_create (route_table_delegate_t *delegate,
*
* Default function for destroying a route node.
*/
-static void
+void
route_node_destroy (route_table_delegate_t *delegate,
struct route_table *table, struct route_node *node)
{