commit | 0054e56fe7741328be8091e7f620f3a3f76faac9 | [log] [tgz] |
---|---|---|
author | pinkerton <pinkerton@chromium.org> | Fri Feb 10 20:39:39 2017 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 10 20:39:39 2017 |
tree | a7996c466495405e570672ff0ba4f6b282f5c44d | |
parent | c74a4c9c6bbef16a70750cbf2662b4ad5a9541d9 [diff] |
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}