diff options
author | 2017-04-06 15:29:57 -0700 | |
---|---|---|
committer | 2017-04-06 16:25:45 -0700 | |
commit | 85fcaa2365c843b2c75d19aa16b15b9bb24c4968 (patch) | |
tree | 67245915bd56f16f2fcff3bfc58cc59c26bed069 /libs/ui/Gralloc2.cpp | |
parent | 42b5469646974552d2de5b0e89c04ccda0d48159 (diff) |
vr_hwc: Address ion buffer leakage
Problem:
system is running out of memory while switching between apps back and forth.
Root-cause:
vr_hwc is leaking ion buffers by holding an unreleased reference.
Solution:
No need to register the buffer when getting buffer info. This removes the
additional (unreleased) reference on the buffer.
Test: Validated vr_hwc is no longer leaking ion buffers when switching
apps.
Bug: 36449218
Change-Id: I1c1c5d2cca35c50a4bcbcf7b879d37914b8d835f
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
0 files changed, 0 insertions, 0 deletions