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

Commit 1036d2bf authored by Uday Kiran jandhyala's avatar Uday Kiran jandhyala
Browse files

Fixing SurfaceTexture memory leak in system_server

SurfaceTexture once allocated and used, is not released.
This causes memory leaks during Screen on/off transitions

CRs-Fixed: 775559

Change-Id: Ic7ac5f00688af34a1acf943ef962ede243277a27
parent b6d2649a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -470,6 +470,7 @@ final class ColorFade {

            st.updateTexImage();
            st.getTransformMatrix(mTexMatrix);
            st.release();

            // Set up texture coordinates for a quad.
            // We might need to change this if the texture ends up being