From: Philippe Guibert Date: Fri, 15 Feb 2019 16:42:13 +0000 (+0100) Subject: ospf6d: reset the global ospf6 pointer X-Git-Tag: 7.1_pulled~237^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=18f286adfbaba52a7d6d4a3994e763109d088c74;p=matthieu%2Ffrr.git ospf6d: reset the global ospf6 pointer reset the global ospf6 pointer. Signed-off-by: Philippe Guibert --- 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();