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
Loading
Please register or sign in to comment