diff options
| author | 2024-07-19 23:09:28 +0000 | |
|---|---|---|
| committer | 2024-07-19 23:29:33 +0000 | |
| commit | 44390105c7a097d1ab516f7a4e363745ac5b2099 (patch) | |
| tree | 6121fa6b1eb5a4bb267ab6240685bc841d01de4f /libs/androidfw/AttributeResolution.cpp | |
| parent | ec5dcca57ec8a5f8b614414a4e1b284e0baf0d89 (diff) | |
Fix memory leak of lastArray when newArray == NULL
lastArray remains copied/pinned when android_os_Process_getPids returns
early because of a failure to allocate newArray.
Bug: 351917521
Test: cuttlefish boot
Change-Id: I95ebeb36ffc185a21acca11b9393b6dd8f4e0f83
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions