commit | 5351aad9bc5b2e3101472248967e3dc1f84d24ee | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Tue Jun 23 06:54:56 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 23 06:54:56 2015 -0700 |
tree | dbb5b4f437277024b1c69b9e2a62d5e63a69bc72 | |
parent | 3fef728e16cc1e21c743be28708d0104a9481de8 [diff] |
Fix memory leak in SkPictureRecord Review URL: https://codereview.chromium.org/1197283007
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp index 018da0b..32033b5 100644 --- a/src/core/SkPictureRecord.cpp +++ b/src/core/SkPictureRecord.cpp
@@ -37,6 +37,7 @@ } SkPictureRecord::~SkPictureRecord() { + fImageRefs.unrefAll(); fPictureRefs.unrefAll(); fTextBlobRefs.unrefAll(); }