From e26bbebaddd76e2002df675d76531c5ce851a4b0 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 25 May 2003 21:39:29 +0000 Subject: ospf6d part of 6Wind patch. --- ospf6d/ospf6_top.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ospf6d/ospf6_top.c') diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index a8a058f2..f9cc3299 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -286,6 +286,9 @@ ospf6_create (unsigned long process_id) void ospf6_delete (struct ospf6 *ospf6) { + if (!ospf6) + return; + ospf6_route_remove_all (ospf6->route_table); ospf6_free (ospf6); } -- cgit v1.2.1