diff options
| author | 2021-03-03 15:23:35 -0800 | |
|---|---|---|
| committer | 2021-03-05 22:10:28 +0000 | |
| commit | a0a16278232f4f5806c46417ae4ec24cab7f869b (patch) | |
| tree | 67d3d264696cb3f1ab8b8b8a41240054674cfb9b /vulkan/libvulkan/api.cpp | |
| parent | eca9d75c3de367645931e621d13f1b8d13d46569 (diff) | |
Fix memory leaks in libsurfaceflinger_unittest
Every class that inherits from RefBase must be held by an sp<>.
Creating a RefBAse object without an sp<> causes a memory leak.
Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest
Bug: 181807839
Change-Id: I37ec274b01c5212a5a3cecc2e1eb5b4c9d6122f4
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions