diff options
| author | 2023-07-11 15:51:32 -0700 | |
|---|---|---|
| committer | 2023-07-12 19:45:02 +0000 | |
| commit | 3f15e5846ce50e4b359e2c27f38aff8d4c46aaac (patch) | |
| tree | 270c039c8735891425099b0e50db0bc99b217ed1 /api/api.go | |
| parent | b8b8e2150337ec1655017cdeda25e0ec9223e1f9 (diff) | |
Use std::unique_ptr in FileDescriptorTable
Simplify the memory management in FileDescriptorTable by using
std::unique_ptr to hold FileDescriptorInfo objects. Would have
prevented b/231366539.
Test: adb shell dumpsys meminfo --unreachable com.android.deskclock
Change-Id: I45fb54f7d0b80471183087d4bf20fbe2a3cc2641
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions