summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-11-20 17:40:12 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-11-20 17:40:47 +0100
commit1453ab7552cee47b94d78b9d843b747c1f74897c (patch)
treebbb83dd934f83c1da88b42d4084dbaae734501af
parent81489b79e07d448f30434a0c1d22f8f744f0fda8 (diff)
MRT: Fix bug in MRT table dump requested from CLI
-rw-r--r--proto/mrt/mrt.c3
1 files changed, 2 insertions, 1 deletions
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