summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-11-17 01:09:38 +0100
committerGitHub <noreply@github.com>2020-11-17 01:09:38 +0100
commit0b75cd0bf3fa4093d0b5ac93f30bf8f656fb5edb (patch)
tree9888e8e3a8e11b392b6e9923040bc8d6469838cf
parentMerge pull request #7531 from qlyoung/fix-doc-block-quote (diff)
parentlib: When aborting log data (diff)
downloadfrr-0b75cd0bf3fa4093d0b5ac93f30bf8f656fb5edb.tar.xz
frr-0b75cd0bf3fa4093d0b5ac93f30bf8f656fb5edb.zip
Merge pull request #7533 from donaldsharp/zlog_missing_on_failure
lib: When aborting log data
-rw-r--r--lib/sigevent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index de9e1f541..8d583096f 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -250,6 +250,8 @@ core_handler(int signo, siginfo_t *siginfo, void *context)
/* dump memory stats on core */
log_memstats(stderr, "core_handler");
+
+ zlog_tls_buffer_fini();
abort();
}