commit | f35139f446887b3cee4895950a6130415d9d4f25 | [log] [tgz] |
---|---|---|
author | Jason Macnak <natsu@google.com> | Wed Oct 16 22:40:35 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Oct 16 22:40:35 2024 +0000 |
tree | f34d61d132ccb92bcf57251d79e3781d672e4923 | |
parent | 9d2ff7462e6860aedb9d2c1437852251ccb30a2a [diff] | |
parent | 5eb07e3b88f64e7eb2a6e03b7e3265f647d80cb5 [diff] |
Avoid leaking RenderEngine am: 5eb07e3b88 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3311018 Change-Id: I5ee4d01c129aae99da5164a2d1c693df590816b0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/graphics/composer/aidl/vts/RenderEngineVts.cpp b/graphics/composer/aidl/vts/RenderEngineVts.cpp index 66779c8..d0bc689 100644 --- a/graphics/composer/aidl/vts/RenderEngineVts.cpp +++ b/graphics/composer/aidl/vts/RenderEngineVts.cpp
@@ -29,9 +29,7 @@ mRenderEngine = ::android::renderengine::RenderEngine::create(args); } -TestRenderEngine::~TestRenderEngine() { - mRenderEngine.release(); -} +TestRenderEngine::~TestRenderEngine() {} void TestRenderEngine::setRenderLayers(std::vector<std::shared_ptr<TestLayer>> layers) { sort(layers.begin(), layers.end(),