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

Commit dc5997e7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "codec2 hidl plugin samples: free native handles after they are unwrapped"

parents cc628d43 c36705e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -666,6 +666,7 @@ private:
                        grallocHandle, GraphicBuffer::CLONE_HANDLE,
                        width, height, format, 1, usage, stride);

                native_handle_delete(grallocHandle);
                std::shared_ptr<C2GraphicBlock> dstBlock;
                C2BlockPool::local_id_t poolId = mIntf->getPoolId();
                std::shared_ptr<C2BlockPool> pool;
@@ -684,6 +685,7 @@ private:
                        grallocHandle, GraphicBuffer::CLONE_HANDLE,
                        width, height, format, 1, usage, stride);

                native_handle_delete(grallocHandle);
                Rect sourceCrop(0, 0, width, height);

                renderengine::DisplaySettings clientCompositionDisplay;