From 41dbcdf94f254c00a0bebfe2e0637ba4879a894a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 14 Oct 2012 12:54:02 +0100 Subject: valgrind: Fix FUSE memory leak suppression. (cherry picked from commit 626ca8e74f97a8c5fbe354211e81132976a21435) --- tests/extra/suppressions | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/extra/suppressions b/tests/extra/suppressions index 1b2f11af..a87b1a66 100644 --- a/tests/extra/suppressions +++ b/tests/extra/suppressions @@ -190,10 +190,18 @@ } # FUSE leaks the per-thread context (although the code looks -# like it attempts to clean it up). +# like it attempts to clean it up). In older fuse, it uses +# malloc. In newer fuse it uses calloc. { - fuse_leak + fuse_leak_1 Memcheck:Leak fun:malloc fun:fuse_get_context_internal } + +{ + fuse_leak_2 + Memcheck:Leak + fun:calloc + fun:fuse_get_context_internal +} -- cgit