summaryrefslogtreecommitdiffstats
path: root/ripngd/ripngd.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-12-17 11:19:48 +0100
committerRenato Westphal <renato@opensourcerouting.org>2018-12-17 11:19:48 +0100
commitcf6ef369967e34f08007e53010c4d27e8cdeea00 (patch)
tree81092f2c5b69ec8ba5b52ce1af2453f9dd01a905 /ripngd/ripngd.c
parentMerge pull request #3488 from donaldsharp/bsd_topo_abstract1 (diff)
downloadfrr-cf6ef369967e34f08007e53010c4d27e8cdeea00.tar.xz
frr-cf6ef369967e34f08007e53010c4d27e8cdeea00.zip
ripd, ripngd: fix memleaks when deleting routing instance
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r--ripngd/ripngd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index 58d83febf..4ec9209da 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -2445,7 +2445,7 @@ void ripng_clean()
if (ripng->route_map[i].name)
free(ripng->route_map[i].name);
- XFREE(MTYPE_ROUTE_TABLE, ripng->table);
+ agg_table_finish(ripng->table);
stream_free(ripng->ibuf);
stream_free(ripng->obuf);