mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-24 21:01:59 +00:00
quasi-glib: fix missing pthread_condattr_destroy() call
This commit is contained in:
parent
7a2b8c79b6
commit
a9c3840dc2
1 changed files with 2 additions and 0 deletions
|
@ -293,6 +293,8 @@ static pthread_cond_t* g_cond_impl_new()
|
|||
pthread_cond_t* cond = new pthread_cond_t;
|
||||
pthread_cond_init(cond, &attr);
|
||||
|
||||
pthread_condattr_destroy(&attr);
|
||||
|
||||
return cond;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue