From 149e0bafd69d05f89b7f101ea83f8fabd87b769a Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 17 Dec 2019 13:09:50 +0100 Subject: [PATCH] lib/log: add valgrind suppression for zlog These bits of memory are intentionally kept alive at exit so logging still works. Signed-off-by: David Lamparter --- bgpd/valgrind.supp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bgpd/valgrind.supp b/bgpd/valgrind.supp index 7a25c88363..ed236a6dc5 100644 --- a/bgpd/valgrind.supp +++ b/bgpd/valgrind.supp @@ -7,3 +7,11 @@ fun:ly_load_plugins_dir fun:ly_load_plugins } +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:calloc + fun:qcalloc + fun:zlog_target_clone +}