tag | 4f94f4c684ed8e1d53ab87ce2a91dc9468480452 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Oct 28 10:50:40 2021 -0700 |
object | 74f59e51f501e637d0d6a293a194540192841157 |
Android 12.0.0 release 0.9
commit | 74f59e51f501e637d0d6a293a194540192841157 | [log] [tgz] |
---|---|---|
author | Edmond Chung <edmondchung@google.com> | Mon Aug 23 13:23:51 2021 -0700 |
committer | Edmond Chung <edmondchung@google.com> | Mon Aug 23 18:02:27 2021 -0700 |
tree | 5ea721828f599b187e18939c3058e5261200e78c | |
parent | ac7a0109bb351cdd29ba4f698c8d46589e986980 [diff] |
IOCTL: Unlock before freeing memory if transaction submission failed Since transaction submission failed, the transaction data struct will not be used by any other blocks anymore. It is safe to first release the spinlock, then copy to user and release the memory. Bug: 197431438 Test: CTS and GCA Signed-off-by: Edmond Chung <edmondchung@google.com> Change-Id: I1054d0591b6ca55ae7d192b46e535a1ae0fdde00