Update thread_management.cpp

fix deref
This commit is contained in:
Lizardy 2024-08-09 17:53:22 -04:00 committed by GitHub
parent 4a2cc38511
commit 42a805eb48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -434,7 +434,7 @@ int PS4_SYSV_ABI scePthreadMutexInit(ScePthreadMutex* mutex, const ScePthreadMut
if (*mutex_attr == nullptr) {
attr = g_pthread_cxt->getDefaultMutexattr();
} else {
attr = *mutex_attr;
attr = mutex_attr;
}
}