]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: Have ospf6d cleanup when it terminates normally
authorTom Goff <thomas.goff@boeing.com>
Wed, 10 Nov 2010 21:01:41 +0000 (13:01 -0800)
committerPaul Jakma <paul@quagga.net>
Mon, 21 Mar 2011 13:31:16 +0000 (13:31 +0000)
commitae2254aa7f2eb7436734f497658f1f26f4bf37c7
tree8734f0e2aa855b90d9ec5cb961cd9990b5574905
parentfd795eb89cc421097f6580016ea9fbd3585d07bb
ospf6d: Have ospf6d cleanup when it terminates normally

A clean exit makes it easier to use memory debuggers.

* ospf6_asbr.c: (ospf6_asbr_terminate) Add a function to do route map
  cleanup.
* ospf6_lsa.c: (ospf6_lsa_terminate) Add a function to cleanup the lsa
  handler vector.
* ospf6_main.c: (ospf6_exit) Add an function that causes ospf6d to
  gracefully exit.
* ospf6_message.c: (ospf6_message_terminate) Add a function that frees
  the send and receive buffers.
* ospf6_top.c: (ospf6_delete) Enable the ospf6_delete() function.
  Disable ospf6 before freeing everything.
ospf6d/ospf6_asbr.c
ospf6d/ospf6_asbr.h
ospf6d/ospf6_lsa.c
ospf6d/ospf6_lsa.h
ospf6d/ospf6_main.c
ospf6d/ospf6_message.c
ospf6d/ospf6_message.h
ospf6d/ospf6_top.c
ospf6d/ospf6_top.h