commit | 9cbed70311571f2807f582233cd5b34bbb80de22 | [log] [tgz] |
---|---|---|
author | Jason Macnak <natsu@google.com> | Wed Oct 16 22:33:15 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Oct 16 22:33:15 2024 +0000 |
tree | 222267536a7002677dda573ec766fd2cd6c67405 | |
parent | afeb6bbb8c6b75c12e176d63ce0ca0b529fabece [diff] | |
parent | 5eb07e3b88f64e7eb2a6e03b7e3265f647d80cb5 [diff] |
Avoid leaking RenderEngine am: 5eb07e3b88 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3311018 Change-Id: I0740d094839bce59a89bf02ad5d8c600f30c06f7 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 4e7f773..bc5eb6f 100644 --- a/graphics/composer/aidl/vts/RenderEngineVts.cpp +++ b/graphics/composer/aidl/vts/RenderEngineVts.cpp
@@ -28,9 +28,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(),