DescriptionFix 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}
Committed: https://chromium.googlesource.com/chromium/src/+/0054e56fe7741328be8091e7f620f3a3f76faac9
Patch Set 1 #
Messages
Total messages: 11 (8 generated)
|