summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-05-16 22:26:02 +0200
committerJorim Jaggi <jjaggi@google.com>2017-05-17 23:46:16 +0200
commit4448e1ebb2d00f31292abcc7c5161a4e6f050c2e (patch)
treec10a18931728211e2dda2ffe1de6e6cebfacb426 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent95cf170ce94f51e9455304207ab20d4bd7109697 (diff)
Fix GraphicBuffer leaks in system_server
IWindowId is being kept alive by binder in certain cases, which will leak WindowState, which can leak a whole lot including the snapshot GraphicBuffer. - Fix a leak in WindowContainer.mTmpChain1/2 - When the window gets removed, make sure to release the reference to the window state so even if Binder keeps IWindowId alive, we don't keep WindowState alive - Make sure that even if we leak TaskSnapshotSurface we don't leak the GraphicBuffer. Test: Boot, some basic sanity testing. Bug: 36279079 Change-Id: I4a0a784b32bc2df47934b1bed1d62b0682beb2dd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions