diff options
Diffstat (limited to 'bench/SkGlyphCacheBench.cpp')
-rw-r--r-- | bench/SkGlyphCacheBench.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bench/SkGlyphCacheBench.cpp b/bench/SkGlyphCacheBench.cpp index 008d434a34..78659615b8 100644 --- a/bench/SkGlyphCacheBench.cpp +++ b/bench/SkGlyphCacheBench.cpp @@ -64,6 +64,7 @@ protected: do_font_stuff(&paint); } SkGraphics::SetFontCacheLimit(oldCacheLimitSize); + SkSafeUnref(typeface); } private: @@ -103,6 +104,8 @@ protected: }); } SkGraphics::SetFontCacheLimit(oldCacheLimitSize); + SkSafeUnref(typefaces[0]); + SkSafeUnref(typefaces[1]); } private: |