diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-09-11 23:05:16 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-09-12 11:25:16 -0300 |
| commit | 8879bd22672c9d2987dd5d4645a603ca060c0c3f (patch) | |
| tree | 2af510f49651624a6055c3110bf8be946617a27a /babeld/babel_main.c | |
| parent | 953d97fc4aef0c7715e8d42d7d52ebc18d873ac6 (diff) | |
*: make all daemons call frr_fini() on exit
This allow us to find real leaks more easily with tools like valgrind.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'babeld/babel_main.c')
| -rw-r--r-- | babeld/babel_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 54626a4aeb..6a8f9bb75f 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -335,6 +335,7 @@ babel_exit_properly(void) babel_save_state_file(); debugf(BABEL_DEBUG_COMMON, "Remove pid file."); debugf(BABEL_DEBUG_COMMON, "Done."); + frr_fini(); exit(0); } |
