Skip to content
Commit 8a20c4ad authored by Aska Wu's avatar Aska Wu Committed by Anas Nashif
Browse files

net: context: Make sure contexts lock is released when error



Also, set the in-use flag after it is allocated successfully.

Signed-off-by: default avatarAska Wu <aska.wu@linaro.org>
parent 5539047d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment