pthread: add call to pthread_mutexattr_destroy (#14786)

This commit is contained in:
limb-soup
2026-01-07 18:56:03 +00:00
committed by GitHub
parent a66988621a
commit f805bb53cf

View File

@@ -46,6 +46,7 @@ SDL_Mutex *SDL_CreateMutex(void)
SDL_free(mutex);
mutex = NULL;
}
pthread_mutexattr_destroy(&attr);
}
return mutex;
}