diff options
author | 2021-03-03 12:20:00 -0800 | |
---|---|---|
committer | 2021-03-04 19:28:35 -0800 | |
commit | eca9d75c3de367645931e621d13f1b8d13d46569 (patch) | |
tree | a75eff5892b4d7adf68e1854cda6ee6edcb9f9b7 /libs/input/Input.cpp | |
parent | a170ec6a87f2720eb9846ea75cd9807db54b12ad (diff) |
Fix memory leaks in libcompositionengine_test
LayerFE inherits from RefBase and therefore must be held by an sp<>.
Creating a RefBase object without an sp<> causes a memory leak.
Test: adb shell /data/nativetest64/libcompositionengine_test/libcompositionengine_test
Bug: 181807839
Change-Id: I937870a036118ef567536d31d847fa691f42f2c2
Diffstat (limited to 'libs/input/Input.cpp')
0 files changed, 0 insertions, 0 deletions