summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorQin Zhao <zhaoqin@google.com>2015-11-25 12:15:14 -0500
committerQin Zhao <zhaoqin@google.com>2015-11-25 12:15:14 -0500
commit1fb4bc47e216c9caebdf7bc8479d45285ee7693b (patch)
treec5c5fef220dc84f604c416cd96c3634e0173517c /tools
parent6c2d736011c09266015d3e2a0b9c08aeba1bbf31 (diff)
downloadpdfium-1fb4bc47e216c9caebdf7bc8479d45285ee7693b.tar.xz
Suppress invalid-heap-arg error in pdfium_unittests
Visual Studio sometimes uses new instead of new[] for array allocation, which causes Dr. Memory report invalid-heap-arg errors. Suppress such errors since it is not developers' problems. TBR=tsepez@chromium.org BUG=pdfium:287 Review URL: https://codereview.chromium.org/1473913002 .
Diffstat (limited to 'tools')
-rw-r--r--tools/drmemory/suppressions.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/drmemory/suppressions.txt b/tools/drmemory/suppressions.txt
index ee85dfea49..2ad8236cae 100644
--- a/tools/drmemory/suppressions.txt
+++ b/tools/drmemory/suppressions.txt
@@ -20,3 +20,9 @@ name=embeddertests:DrM-i#471
*!v8::internal::Deoptimizer::ComputeOutputFrames
*!v8::internal::`anonymous namespace'::Invoke
*!v8::internal::Execution::Call
+
+# PDFium-i#287: new/delete[] mismatch
+INVALID HEAP ARGUMENT
+name=i#287:new-delete-array-mismatch
+drmemorylib.dll!replace_operator_delete_array
+*!NumberlikeArray<>::~NumberlikeArray<>