From: Vincent Bernat Date: Wed, 28 Sep 2016 21:27:46 +0000 (+0200) Subject: valgrind: more suppressions for lldpd X-Git-Tag: 0.9.5~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db3beffd9c9dc02030b94f31d43c8e18d50eda09;p=thirdparty%2Flldpd.git valgrind: more suppressions for lldpd --- 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 {