diff options
author | John Reck <jreck@google.com> | 2019-07-26 12:19:56 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2019-07-26 23:19:05 +0000 |
commit | 12ea937f8f22987654f7a04f025570c29876962c (patch) | |
tree | 2f76960a76556ccb2ca7fbd7577716a00047e216 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 5818412305a0c2fbaa399874ca00d479dd20d135 (diff) |
Fix regression in PFD#fromData
Don't rely on the GC to clean up FD resources when they can
just be cleaned up immediately. We know the MemoryFile isn't
going to be used any further, so just close it.
Bug: 138323667
Test: Repro steps in bug. Verified addresses FD leak in system_server from repeatedly opening & closing settings.
Change-Id: Ic82006c9cb48f580aaad942c4679e774186382c9
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions