diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/RTreeTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/RTreeTest.cpp b/tests/RTreeTest.cpp index 61e6b675ad..d60bf0c08a 100644 --- a/tests/RTreeTest.cpp +++ b/tests/RTreeTest.cpp @@ -82,6 +82,7 @@ static void TestRTree(skiatest::Reporter* reporter) { DataRect rects[NUM_RECTS]; SkRandom rand; SkRTree* rtree = SkRTree::Create(MIN_CHILDREN, MAX_CHILDREN); + SkAutoUnref au(rtree); REPORTER_ASSERT(reporter, NULL != rtree); int expectedDepthMin = -1; |