aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BlurTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-11 14:38:46 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-11 14:38:46 +0000
commit6d837aa1a12c1c03cce7cd37b1cae0ef4805f506 (patch)
tree7d19891ecf37142509836e06e330e683b6fdce5d /tests/BlurTest.cpp
parent1f1b4aa06a4a8f3f98d30d0ae74a091b44e7feea (diff)
Fix leak in BlurTest
Diffstat (limited to 'tests/BlurTest.cpp')
-rw-r--r--tests/BlurTest.cpp3
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.