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

Commit c71afbf2 authored by Abdelrahman Daim's avatar Abdelrahman Daim Committed by Biswarup Pal
Browse files

Fix EglFramebuffer leak



Summary: ... causing large memory use increase during JPEG capture.

The incorrect argument to eglDestroyImageKHR, caused the ANativeBuffer
asociated with temporary EGL framebuffer was not freed until the
reference was dropped finally during tear-down of the asociated
EGL display.

This caused memory usage to skyrocket during JPEG capture.

Test: m virtual_camera_tests
Flag: EXEMPT Bug-fix

Signed-off-by: default avatarAbdelrahman Daim <adaim@meta.com>

Change-Id: I1e599a9b200ac3053507b026ca5995bd42add43d
parent 768e2f43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment