Fix memory leak in SkPictureRecord

Review URL: https://codereview.chromium.org/1197283007
This commit is contained in:
robertphillips 2015-06-23 06:54:56 -07:00 committed by Commit bot
parent 3fef728e16
commit 5351aad9bc

View File

@ -37,6 +37,7 @@ SkPictureRecord::SkPictureRecord(const SkISize& dimensions, uint32_t flags)
}
SkPictureRecord::~SkPictureRecord() {
fImageRefs.unrefAll();
fPictureRefs.unrefAll();
fTextBlobRefs.unrefAll();
}