Fix memory leak in SkPictureRecord
Review URL: https://codereview.chromium.org/1197283007
This commit is contained in:
parent
3fef728e16
commit
5351aad9bc
@ -37,6 +37,7 @@ SkPictureRecord::SkPictureRecord(const SkISize& dimensions, uint32_t flags)
|
||||
}
|
||||
|
||||
SkPictureRecord::~SkPictureRecord() {
|
||||
fImageRefs.unrefAll();
|
||||
fPictureRefs.unrefAll();
|
||||
fTextBlobRefs.unrefAll();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user