projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fef728
)
Fix memory leak in SkPictureRecord
author
robertphillips
<robertphillips@google.com>
Tue, 23 Jun 2015 13:54:56 +0000
(06:54 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 23 Jun 2015 13:54:56 +0000
(06:54 -0700)
Review URL: https://codereview.chromium.org/
1197283007
src/core/SkPictureRecord.cpp
patch
|
blob
|
history
diff --git
a/src/core/SkPictureRecord.cpp
b/src/core/SkPictureRecord.cpp
index 018da0bb48951084aea018de501bf535af12bc90..32033b52db4cc740f45cfd6a7fbaba8c1330ef22 100644
(file)
--- a/
src/core/SkPictureRecord.cpp
+++ b/
src/core/SkPictureRecord.cpp
@@
-37,6
+37,7
@@
SkPictureRecord::SkPictureRecord(const SkISize& dimensions, uint32_t flags)
}
SkPictureRecord::~SkPictureRecord() {
+ fImageRefs.unrefAll();
fPictureRefs.unrefAll();
fTextBlobRefs.unrefAll();
}