Index: bench/SkGlyphCacheBench.cpp |
diff --git a/bench/SkGlyphCacheBench.cpp b/bench/SkGlyphCacheBench.cpp |
index 008d434a348a9a2b3397a52450531d7f3622c88e..78659615b8cb3e9403fc4d8b1a7cfb04e45f4ffd 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: |