Skip to content
Commit 986e8f0a authored by Christopher Friedt's avatar Christopher Friedt Committed by Chris Friedt
Browse files

tests: posix: mutex: init and destroy mutexattr properly



Previously, the mutex attribute was not initialized prior to its
first use or subsequently destroyed.

Ensure that it is initialized by calling
pthread_mutexattr_init() and destroyed by calling
pthread_mutexattr_destroy().

Signed-off-by: default avatarChristopher Friedt <cfriedt@meta.com>
parent 7645890a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment