diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-12-17 11:19:48 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-12-17 11:19:48 +0100 |
commit | cf6ef369967e34f08007e53010c4d27e8cdeea00 (patch) | |
tree | 81092f2c5b69ec8ba5b52ce1af2453f9dd01a905 /ripngd/ripngd.c | |
parent | Merge pull request #3488 from donaldsharp/bsd_topo_abstract1 (diff) | |
download | frr-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.c | 2 |
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); |