Leak in snapshot_cache_unittest.mm |
|||
Issue descriptionData returned by CGDataProviderCopyData is not released. This should be fixed by using base::ScopedCFTypeRef.
,
Feb 10 2017
I'll take this. CL in progress.
,
Feb 10 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0054e56fe7741328be8091e7f620f3a3f76faac9 commit 0054e56fe7741328be8091e7f620f3a3f76faac9 Author: pinkerton <pinkerton@chromium.org> Date: Fri Feb 10 20:39:39 2017 Fix memory leak in SaveToDisk. Fix a memory leak in SaveToDisk by getting rid of the helper function and moving the access to the raw pixels inline. This allows the intermediate CFData object to be correctly refcounted. BUG= 685987 TEST=none, test passes Review-Url: https://codereview.chromium.org/2686213003 Cr-Commit-Position: refs/heads/master@{#449723} [modify] https://crrev.com/0054e56fe7741328be8091e7f620f3a3f76faac9/ios/chrome/browser/snapshots/snapshot_cache_unittest.mm
,
Feb 10 2017
Fixed. |
|||
►
Sign in to add a comment |
|||
Comment 1 by jasonkliu@chromium.org
, Feb 9 2017