commit | 7d4a575206ad2822c48d46d19f10c9a93d6df620 | [log] [tgz] |
---|---|---|
author | Yuqian Li <liyuqian@google.com> | Thu Apr 26 15:41:34 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Apr 26 20:06:25 2018 +0000 |
tree | abaf584c0bca4b88d40ea616afb85213f635d0ef | |
parent | be9aa8d00652a05bf8574d711e157f3720e76b97 [diff] |
Call destructors during reset to avoid memory leak Otherwise, the following ASAN test would fail: out/ASAN/dm --config t8888 -m savelayer_initfromprev Bug: skia: Change-Id: I464dd419c64dcb06197169cca51253f26c44e93e Reviewed-on: https://skia-review.googlesource.com/124053 Commit-Queue: Yuqian Li <liyuqian@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> Auto-Submit: Yuqian Li <liyuqian@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>