Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: tests/Matrix44Test.cpp

Issue 12440066: Fix minor valgrind-found memory leaks (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/Matrix44Test.cpp
===================================================================
--- tests/Matrix44Test.cpp (revision 8291)
+++ tests/Matrix44Test.cpp (working copy)
@@ -104,6 +104,8 @@
REPORTER_ASSERT(reporter, testMatrix == placeholderMatrix);
REPORTER_ASSERT(reporter, testMatrix->isIdentity());
REPORTER_ASSERT(reporter, *testMatrix == SkMatrix44::I());
+
+ delete placeholderMatrix;
}
static void test_translate(skiatest::Reporter* reporter) {

Powered by Google App Engine
This is Rietveld 408576698