From 40d9c0e331fe2b76b4e13ca6cdf1ea50451ba6cc Mon Sep 17 00:00:00 2001 From: robertphillips Date: Sun, 29 Jun 2014 16:38:58 -0700 Subject: [PATCH] Fix memory leak in (Begin atlasing https://codereview.chromium.org/354533004/) R=bsalomon@google.com TBR=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/361663002 --- src/gpu/GrLayerCache.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp index 5f657c7..eb0cc8a 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() { -- 2.7.4