]> git.puffer.fish Git - matthieu/frr.git/commit
lib: deregister memtypes on exit/unload
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 20 Mar 2016 09:09:18 +0000 (10:09 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 19 Sep 2016 20:31:08 +0000 (16:31 -0400)
commitaf2d0efcac11723f9be52a3dae22dec31d157e24
treec54125702276e38cd5555214b51e74e263681967
parent802e2cdd3ad770f3e1f360437dcf910dc3e81c04
lib: deregister memtypes on exit/unload

This is useful for DSO modules in order to get support for unloading
them dynamically.  It also runs on exit, which doesn't matter much.

At some future point, the code could be extended to check that
allocation counts are 0 on unloading a module.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/memory.h