commit | 4686c24f53c20280026a8c22169c8a2daa9d4ecf | [log] [tgz] |
---|---|---|
author | Mike Ma <yanmin@google.com> | Fri Jun 05 00:51:22 2020 -0700 |
committer | Mike Ma <yanmin@google.com> | Fri Jun 05 00:51:22 2020 -0700 |
tree | 446c5584445d13b51944ce99368ed3ae6036c5bb | |
parent | bb9ea4e1fa38a9448589b4521aff06ec05ad1567 [diff] |
Fix a lambda capture problem in TextDumpsysSection The [&] capture does not handle smart pointers (unique_ptr, unique_fd etc) well, which lead to leaked pointers. Fix by explicitly move the smart pointers. Bug: 158097879 Test: Build, flash and take an incident report. Verify no crash Change-Id: I5150aa3dddf9d59c1c9d6d32370370e8cde23946