From 2f473a076b7899c22514f8d00d15198a91638eb5 Mon Sep 17 00:00:00 2001 From: peria Date: Mon, 6 Jul 2015 01:33:25 -0700 Subject: [PATCH] Add a leak sanitizer suppression for blink::ResourceFetcher::garbageCollectDocumentResources In content_browsertests, LSAN reports the leak happens in ResourceFetcher, but its (persistent|ref) pointer is held by a live instance of Document or DocumentLoader at the end of the tests. BUG=506433 Review URL: https://codereview.chromium.org/1216963014 Cr-Original-Commit-Position: refs/heads/master@{#337371} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 2af3041652d3a473995babb42e0d71778427dfdf --- sanitizers/lsan_suppressions.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sanitizers/lsan_suppressions.cc b/sanitizers/lsan_suppressions.cc index ac2defa11..e9a8b7eb4 100644 --- a/sanitizers/lsan_suppressions.cc +++ b/sanitizers/lsan_suppressions.cc @@ -97,6 +97,9 @@ char kLSanDefaultSuppressions[] = // http://crbug.com/356306 "leak:content::SetProcessTitleFromCommandLine\n" +// http://crbug.com/506433 +"leak:blink::ResourceFetcher::garbageCollectDocumentResources\n" + // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. // End of suppressions.