diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-11-01 18:57:53 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2016-11-28 16:15:27 -0200 |
| commit | 58ac32e2d598b5dc45fa05b7a8a85b107571d697 (patch) | |
| tree | f55826dc4efaec046bd339e19bcfb13cdf672ae2 /lib/table.c | |
| parent | 0c6262ed6a2941c063aa2cf40107ef6b45d8628a (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.c | 4 |
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) { |
