Commit 74f59e51 authored by Edmond Chung's avatar Edmond Chung
Browse files

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: default avatarEdmond Chung <edmondchung@google.com>
Change-Id: I1054d0591b6ca55ae7d192b46e535a1ae0fdde00
parent ac7a0109
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment