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

Skip to content
Commit 0589be58 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Fix memory leak in AHardwareBuffer_isSupported

This function creates a new GraphicBuffer to call a single method on it.
Wrap it in an sp<> so that it gets deleted when it's no longer
necessary.

Bug: NA
Test: make and flash
Change-Id: I443015d63245e49e8cf38847030c9da8142cbe50
parent 80cce845
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