mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-17 11:38:49 +00:00
pthread: add call to pthread_mutexattr_destroy (#14786)
(cherry picked from commit f805bb53cf)
This commit is contained in:
parent
a4b7a77d70
commit
f1b2fa5b9b
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ SDL_Mutex *SDL_CreateMutex(void)
|
|||
SDL_free(mutex);
|
||||
mutex = NULL;
|
||||
}
|
||||
pthread_mutexattr_destroy(&attr);
|
||||
}
|
||||
return mutex;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue