summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-10-14 12:54:02 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-10-30 17:14:24 +0000
commit41dbcdf94f254c00a0bebfe2e0637ba4879a894a (patch)
tree1bd43b089bc87b76b3f7bb9d48068c818028375c
parent27114fc0267872792bccba6d9fc22652cadd1ce0 (diff)
downloadlibguestfs-41dbcdf94f254c00a0bebfe2e0637ba4879a894a.tar.gz
libguestfs-41dbcdf94f254c00a0bebfe2e0637ba4879a894a.tar.xz
libguestfs-41dbcdf94f254c00a0bebfe2e0637ba4879a894a.zip
valgrind: Fix FUSE memory leak suppression.
(cherry picked from commit 626ca8e74f97a8c5fbe354211e81132976a21435)
-rw-r--r--tests/extra/suppressions12
1 files 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
+}