From db3beffd9c9dc02030b94f31d43c8e18d50eda09 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 28 Sep 2016 23:27:46 +0200 Subject: [PATCH] valgrind: more suppressions for lldpd --- src/daemon/lldpd.supp | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/src/daemon/lldpd.supp b/src/daemon/lldpd.supp index 2c97b9a7..7e60fc21 100644 --- a/src/daemon/lldpd.supp +++ b/src/daemon/lldpd.supp @@ -1,12 +1,37 @@ # Memory leak when initializing the event loop. Should only happens once. { - one-time-memory-in-levent-init + one-time-malloc-in-levent-init Memcheck:Leak fun:malloc ... fun:levent_init ... } +{ + one-time-realloc-in-levent-init + Memcheck:Leak + fun:realloc + ... + fun:levent_init + ... +} +{ + one-time-calloc-in-levent-init + Memcheck:Leak + fun:calloc + ... + fun:levent_init + ... +} + +# setproctitle_init happens ony one time +{ + one-time-setproctitle-init + Memcheck:Leak + ... + fun:setproctitle_init + ... +} # Static variable in priv.c { -- 2.39.5