diff options
| author | 2016-01-14 22:59:24 +0000 | |
|---|---|---|
| committer | 2016-01-14 22:59:24 +0000 | |
| commit | 1d0f17b4f58ce3d9b8c382cd92a671a1d9cd0ead (patch) | |
| tree | dc7304d3abedd5e85633796a94a9ce9623f542f7 | |
| parent | cde1c2a7174833dc9c73c261ea6d6be9f7a4634b (diff) | |
| parent | 00159554e0f96a6d3a742f21bca6f48281e2fc04 (diff) | |
Merge "Fix leak in OffscreenBufferPoolTests"
| -rw-r--r-- | libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp b/libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp index 5278730a3c9e..2fd879562265 100644 --- a/libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp +++ b/libs/hwui/tests/unit/OffscreenBufferPoolTests.cpp @@ -116,6 +116,8 @@ TEST(OffscreenBufferPool, resize) { // original allocation now only thing in pool EXPECT_EQ(1u, pool.getCount()); EXPECT_EQ(layer->getSizeInBytes(), pool.getSize()); + + pool.putOrDelete(layer2); }); } |