mirror of
https://github.com/holub/mame
synced 2025-06-02 19:06:43 +03:00
fixed ThreadSanitizer warning about unlocking a non-locked mutex (nw)
This commit is contained in:
parent
e6f78d5ed2
commit
a36d8f2fc0
@ -167,7 +167,7 @@ void osd_lock_free(osd_lock *lock)
|
|||||||
{
|
{
|
||||||
hidden_mutex_t *mutex = (hidden_mutex_t *) lock;
|
hidden_mutex_t *mutex = (hidden_mutex_t *) lock;
|
||||||
|
|
||||||
pthread_mutex_unlock(&mutex->id);
|
//pthread_mutex_unlock(&mutex->id);
|
||||||
pthread_mutex_destroy(&mutex->id);
|
pthread_mutex_destroy(&mutex->id);
|
||||||
free(mutex);
|
free(mutex);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user