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:
Christopher Friedt <cfriedt@meta.com>
Loading
Please sign in to comment