Index: src/gpu/GrLayerCache.cpp |
diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp |
index 5f657c73420261be07b5275d8c7ac958230c0924..eb0cc8a668c882f9c4c2ee29231b5c9ab1879835 100644 |
--- a/src/gpu/GrLayerCache.cpp |
+++ b/src/gpu/GrLayerCache.cpp |
@@ -47,6 +47,7 @@ GrLayerCache::GrLayerCache(GrContext* context) |
} |
GrLayerCache::~GrLayerCache() { |
+ this->freeAll(); |
} |
void GrLayerCache::initAtlas() { |