]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
valgrind: more suppressions for lldpd
authorVincent Bernat <vincent@bernat.im>
Wed, 28 Sep 2016 21:27:46 +0000 (23:27 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 28 Sep 2016 21:27:46 +0000 (23:27 +0200)
src/daemon/lldpd.supp

index 2c97b9a7c315294c4b48b98526350cc3bf38de84..7e60fc21759c8dd10469ed456348062085f170e7 100644 (file)
@@ -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
 {