]> git.puffer.fish Git - matthieu/frr.git/commit
lib: clean/restore memory debugging functions
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 11 Feb 2016 16:12:44 +0000 (17:12 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 19 Sep 2016 20:31:08 +0000 (16:31 -0400)
commit7a13c923afdec8765f8c33e93ae5eee7dfc4dc11
tree18ae4082d3c9e61384f6d8791a5e179b13e2f3d8
parent4a1ab8e4050a141d3d7a80b5f8bb27dfd045dae8
lib: clean/restore memory debugging functions

This adapts the dump-at-exit handler and removes the old leftover code.

(Note the text in log_memtype_stderr was actually incorrect as the only
caller in bgpd cleans up configuration before calling it, i.e. any
remaining allocations are missing-cleanup bugs.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/memory.c
lib/memory.h
lib/memory_vty.c
lib/memory_vty.h