Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 44390105 authored by T.J. Mercier's avatar T.J. Mercier
Browse files

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
parent ec5dcca5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment