commit | 0589be587f54d3d568ae18c428f2acd8d8254d1b | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Fri Nov 19 16:39:20 2021 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Wed Nov 24 14:32:18 2021 -0500 |
tree | 1fcfadbcb3adfaca09a3e1934c258ff21f657cf5 | |
parent | 80cce84582bd5074af3aab413c46d08c7e8384b3 [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