Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00159554 authored by John Reck's avatar John Reck
Browse files

Fix leak in OffscreenBufferPoolTests

Change-Id: Ic16df75bdc01d902639df98bc6798d9383510342
parent cbc5bd57
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
    });
}