diff options
| author | John Reck <jreck@google.com> | 2017-11-13 11:32:39 -0800 |
|---|---|---|
| committer | John Reck <jreck@google.com> | 2017-11-13 11:32:39 -0800 |
| commit | 47f5c3a234c5c201ef640489af3ff25b5eec6652 (patch) | |
| tree | 95308e88c2e4c19dd16030a4afe07603112ed8bc /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | ae5eb83a32a2005bd2c872bdf7b0621190ddb062 (diff) | |
Fix leak of FILE* in dumping
Avoid fdopen as fclose, which frees the FILE*, will close
the FD which we don't want. Just normalize on dprintf instead,
and we can add buffering if it turns out to matter at some point
Test: ran 'dumpsys gfxinfo framestats' in a loop while observing PSS
Change-Id: I7808753641aa1055cfdf570c3e017017f11f1dee
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
