summaryrefslogtreecommitdiff
path: root/libs/shaders/shaders.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2021-11-19 16:39:20 -0500
committer Leon Scroggins III <scroggo@google.com> 2021-11-24 14:32:18 -0500
commit0589be587f54d3d568ae18c428f2acd8d8254d1b (patch)
tree1fcfadbcb3adfaca09a3e1934c258ff21f657cf5 /libs/shaders/shaders.cpp
parent80cce84582bd5074af3aab413c46d08c7e8384b3 (diff)
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
Diffstat (limited to 'libs/shaders/shaders.cpp')
0 files changed, 0 insertions, 0 deletions