From e77fc688dde137da9e91dce9bf7326541b5e19c1 Mon Sep 17 00:00:00 2001 From: Qin Zhao Date: Wed, 25 Nov 2015 13:23:43 -0500 Subject: Merge to XFA: 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 . (cherry picked from commit 1fb4bc47e216c9caebdf7bc8479d45285ee7693b) Review URL: https://codereview.chromium.org/1475023003 . --- tools/drmemory/suppressions.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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<> -- cgit v1.2.3