glib/tests/autoptr: Release the acquired locks on GRecMutex

This commit is contained in:
Marco Trevisan (Treviño) 2022-06-23 04:42:19 +02:00
parent 9dffecf5f5
commit e2d2db6433

View File

@ -426,6 +426,7 @@ rec_mutex_unlocked_thread (gpointer data)
{
GRecMutex *rec_mutex = (GRecMutex *) data;
g_assert_true (g_rec_mutex_trylock (rec_mutex));
g_rec_mutex_unlock (rec_mutex);
return NULL;
}