| commit | eca9d75c3de367645931e621d13f1b8d13d46569 | [log] [tgz] |
|---|---|---|
| author | Ady Abraham <adyabr@google.com> | Wed Mar 03 12:20:00 2021 -0800 |
| committer | Ady Abraham <adyabr@google.com> | Thu Mar 04 19:28:35 2021 -0800 |
| tree | a75eff5892b4d7adf68e1854cda6ee6edcb9f9b7 | |
| 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