mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
7ecc2907453d7cb39e6a4de8d52388bdb00e69ed
NNAPI NN_TRY macros use Statement Expressions (a GNU extension) to propagate errors. However, a "return" statement in a Statement Expression can lead to memory leaks when the Statement Expression is being used to initialize a member of a struct. Specifically, when one member of a struct is already initialized, and a Statement Expression used to initialize a subsequent member early-returns, the previously initialized members will not have their destructors called. This CL moves any NN_TRY macro out of struct initialization to avoid any potential memory leaks. Bug: 230500484 Test: mma Test: presubmit Change-Id: I3493fd4764f8eacc86750e6414e62bc891abaccd
Merge "Build with upstream lld: Fix incorrect static dependencies" am:
9e8d756311 am: 9485f0ffb4 am: 94dde8238f
Merge "Adding bluetooth apex and min_sdk_version" am:
85d3fae9c5 am: 9793b79ce7 am: 08e6905ff5 am: 9b8d57f1b8
identity: Add require_root to allow tradefed system auto run am:
7f923b326b am: 1b63aa66f4 am: 2acdc0c5f0
Merge "VTS: Remove enforce codec2 on ATV for S devices" am:
842e6219c2 am: a5b65bd284 am: abce6a2ed1
Merge "Build with upstream lld: Fix incorrect static dependencies" am:
9f18cbd7f6 am: 67a2c6d6f1 am: 8fea839883
Description
No description provided
Languages
C++
56.3%
AIDL
41.2%
C
1.5%
Rust
0.4%
Java
0.4%
Other
0.1%