commit | 6d837aa1a12c1c03cce7cd37b1cae0ef4805f506 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Oct 11 14:38:46 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Oct 11 14:38:46 2013 +0000 |
tree | 7d19891ecf37142509836e06e330e683b6fdce5d | |
parent | 1f1b4aa06a4a8f3f98d30d0ae74a091b44e7feea [diff] [blame] |
Fix leak in BlurTest https://codereview.chromium.org/26941002/ git-svn-id: http://skia.googlecode.com/svn/trunk@11725 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp index 8eb1050..97e267e 100644 --- a/tests/BlurTest.cpp +++ b/tests/BlurTest.cpp
@@ -183,6 +183,9 @@ for ( ; i < resultCount; ++i) { result[i] = 0; } + + SkMask::FreeImage(src.fImage); + SkMask::FreeImage(dst.fImage); } // Implement a step function that is 255 between min and max; 0 elsewhere.