kernel/user_mutex: Add missing get after allocating contexts.

Fixes a potential KDL.
This commit is contained in:
Augustin Cavalier
2026-03-23 14:34:10 -04:00
parent 54ad26255c
commit 3c05f06edb
+1
View File
@@ -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;