diff options
author | bungeman <bungeman@google.com> | 2015-02-05 09:11:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-05 09:11:46 -0800 |
commit | 8d9225ba78c05194fdffc05ee8bdd5c15b7367ff (patch) | |
tree | 08a563f00544b5bc332c3a4a7e04702cbb9621d6 /tools/valgrind.supp | |
parent | de358a9946fb6cffa905c7aa0e5f29cf6960b927 (diff) |
Suppress another FontConfig 'leak'.
FontConfig uses offsets for elements instead of pointers, so any value
held by an element goes missing from memory checkers. Previous
suppressions took care of rule copies and adds to elements, but value
lists may be copied as well. When they are, values are copied, including
the content of strings and matricies. Since value lists are effectively
like Fc*Add functions (even calling the same underlying helpers), treat
them as such and suppress any 'leaks' they may cause.
Review URL: https://codereview.chromium.org/894863003
Diffstat (limited to 'tools/valgrind.supp')
-rw-r--r-- | tools/valgrind.supp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/valgrind.supp b/tools/valgrind.supp index 944fa1ecfd..d919c86126 100644 --- a/tools/valgrind.supp +++ b/tools/valgrind.supp @@ -111,6 +111,16 @@ fun:FcFontRenderPrepare } { + #Same root cause as font_config_bug_2. + #The 'leak' is copies of font or pattern values into returned pattern values. + font_config_bug_4 + Memcheck:Leak + fun:*alloc + ... + fun:FcValue* + fun:FcFontRenderPrepare +} +{ zlib_bug_1 Memcheck:Cond fun:inflateReset2 |