commit | 04cd368cb41f0dd7bce119f61d0ff29d57e22d17 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Jun 03 09:04:33 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 03 09:04:34 2014 -0700 |
tree | 5747a914a581c6bf1b54b077195a57613fc8a89b | |
parent | 14052a0b5adfe2282e6ca70be71ab72a59e5e784 [diff] |
Fix memory leak in etc1bitmap GM. We never drop our first ref on fileData. (All our ref counts start at one). SkAutoTUnref<T> is almost always the right thing to use for refcounted types. BUG=skia:2635 R=krajcevski@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/310793003