diff options
| author | 2024-11-19 01:31:47 +0000 | |
|---|---|---|
| committer | 2024-11-19 17:18:53 +0000 | |
| commit | 5fd22477b49086ddba57c634e49723504b02a571 (patch) | |
| tree | ccb0708c5ddd81f7aa60ccb99c48e918e8e63171 /vulkan/libvulkan/api.cpp | |
| parent | 13c2918315a89ec2f172ef7ae7b9bafbcef6d4a9 (diff) | |
Delete user data even on error when registering AccessorProviders
If ABinderRpc_registerAccessorProvider returns nullptr on error, we need
to make sure we still call the delete callback on the user data as the
user expects to be giving up ownership of it when they make the call.
Test: atest binderRpcTest
Bug: 358427181
Change-Id: I049e33f88ba202cd97e970276b50903374131eff
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions