From 1453ab7552cee47b94d78b9d843b747c1f74897c Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 20 Nov 2018 17:40:12 +0100 Subject: [PATCH] MRT: Fix bug in MRT table dump requested from CLI --- proto/mrt/mrt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proto/mrt/mrt.c b/proto/mrt/mrt.c index 5c457b6c..3e61a621 100644 --- a/proto/mrt/mrt.c +++ b/proto/mrt/mrt.c @@ -668,7 +668,8 @@ mrt_dump_cont(struct cli *c) return; cli_printf(c, 0, ""); - c->cont = c->cleanup = NULL; + mrt_table_dump_free(c->rover); + c->cont = c->cleanup = c->rover = NULL; } static void