mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-13 15:23:34 +00:00
pthread: add call to pthread_mutexattr_destroy (#14786)
This commit is contained in:
@@ -46,6 +46,7 @@ SDL_Mutex *SDL_CreateMutex(void)
|
||||
SDL_free(mutex);
|
||||
mutex = NULL;
|
||||
}
|
||||
pthread_mutexattr_destroy(&attr);
|
||||
}
|
||||
return mutex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user