kernel/user_mutex: Add missing get after allocating contexts.
Fixes a potential KDL.
This commit is contained in:
@@ -472,6 +472,7 @@ struct UserMutexContextFetcher {
|
||||
Team* team = thread_get_current_thread()->team;
|
||||
team->Lock();
|
||||
fInitStatus = allocate_team_user_mutex_context(team);
|
||||
fContext = team->user_mutex_context;
|
||||
team->Unlock();
|
||||
if (fInitStatus != B_OK)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user