From 467134952bce90f042388e3d8fcdb3365d3c5679 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 15 Feb 2019 17:42:13 +0100 Subject: [PATCH] ospf6d: reset the global ospf6 pointer reset the global ospf6 pointer. Signed-off-by: Philippe Guibert --- ospf6d/ospf6_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 289c7dc18c..61094c7cdb 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -85,8 +85,10 @@ static void __attribute__((noreturn)) ospf6_exit(int status) frr_early_fini(); - if (ospf6) + if (ospf6) { ospf6_delete(ospf6); + ospf6 = NULL; + } bfd_gbl_exit(); -- 2.39.5