mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
glib/tests/autoptr: Release the acquired locks on GRecMutex
This commit is contained in:
parent
9dffecf5f5
commit
e2d2db6433
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user