diff options
author | hasso <hasso> | 2003-05-25 21:39:29 +0000 |
---|---|---|
committer | hasso <hasso> | 2003-05-25 21:39:29 +0000 |
commit | d4259ba19085c3dc213b7f9d4dc2e93b69ae8ad8 (patch) | |
tree | 42bc7c092c3af044848b4bb605fcfc680988115e /ospf6d/ospf6_top.c | |
parent | e149385f8272a1d2845d5499aec8d525126d8142 (diff) | |
download | quagga-d4259ba19085c3dc213b7f9d4dc2e93b69ae8ad8.tar.bz2 quagga-d4259ba19085c3dc213b7f9d4dc2e93b69ae8ad8.tar.xz |
ospf6d part of 6Wind patch.
Diffstat (limited to 'ospf6d/ospf6_top.c')
-rw-r--r-- | ospf6d/ospf6_top.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |