aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/valgrind.supp
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2014-08-29 10:38:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-29 10:38:48 -0700
commit2210d9e4b2655710c13ef658b84a27f671468bee (patch)
tree40ed584f229227314c28571109e48cf42d43bda9 /tools/valgrind.supp
parent14b6aba0997a8b463eae824d770fc5ad1ab89617 (diff)
Update FontConfig valgrind suppressions.
FcPattern uses 'intptr_t elts_offsets' instead of 'FcPatternEltPtr elts' to reference its elements. Therefore, valgrind suspects possible leaks on all values, elements, and element lists in FontConfig. BUG=skia:2879 R=djsollen@google.com, mtklein@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/518903002
Diffstat (limited to 'tools/valgrind.supp')
-rw-r--r--tools/valgrind.supp12
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/valgrind.supp b/tools/valgrind.supp
index 1f3e6d9ede..d96ada04e7 100644
--- a/tools/valgrind.supp
+++ b/tools/valgrind.supp
@@ -96,10 +96,20 @@
font_config_bug_2
Memcheck:Leak
fun:*alloc
- fun:FcPatternObjectInsertElt
+ ...
fun:Fc*Add*
}
{
+ #Same root cause as font_config_bug_2.
+ #The 'leak' here is a copy of rule values, as opposed to new values.
+ font_config_bug_3
+ Memcheck:Leak
+ fun:*alloc
+ fun:FcConfigValues
+ fun:FcConfigSubstituteWithPat
+ fun:FcFontRenderPrepare
+}
+{
zlib_bug_1
Memcheck:Cond
fun:inflateReset2