diff options
author | nyorain <[email protected]> | 2019-12-14 16:07:27 +0100 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2020-10-28 16:55:14 +0000 |
commit | 4480be293954b8e0ef581c0d94c7956b9a1de0b9 (patch) | |
tree | 3978ce4fff2584934f5ebb9df0527a1640ba774e | |
parent | 3a5831fac3bd127aa5d064a721b92ea73d8f8a10 (diff) | |
download | cubeb-4480be293954b8e0ef581c0d94c7956b9a1de0b9.tar.gz cubeb-4480be293954b8e0ef581c0d94c7956b9a1de0b9.zip |
AAudio: destroy pthread_condattr
-rw-r--r-- | src/cubeb_aaudio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cubeb_aaudio.c b/src/cubeb_aaudio.c index 3b30af4..f841a66 100644 --- a/src/cubeb_aaudio.c +++ b/src/cubeb_aaudio.c @@ -522,6 +522,7 @@ aaudio_init(cubeb ** context, char const * context_name) { #endif err = pthread_cond_init(&ctx->state.cond, &cond_attr); + pthread_condattr_destroy(&cond_attr); if (err) { LOG("pthread_cond_init: %s", strerror(err)); aaudio_destroy(ctx); |