diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-11 14:38:46 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-11 14:38:46 +0000 |
commit | 6d837aa1a12c1c03cce7cd37b1cae0ef4805f506 (patch) | |
tree | 7d19891ecf37142509836e06e330e683b6fdce5d /tests/BlurTest.cpp | |
parent | 1f1b4aa06a4a8f3f98d30d0ae74a091b44e7feea (diff) |
Fix leak in BlurTest
https://codereview.chromium.org/26941002/
git-svn-id: http://skia.googlecode.com/svn/trunk@11725 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/BlurTest.cpp')
-rw-r--r-- | tests/BlurTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp index 8eb1050102..97e267e5b2 100644 --- a/tests/BlurTest.cpp +++ b/tests/BlurTest.cpp @@ -183,6 +183,9 @@ static void ground_truth_2d(int width, int height, 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. |