From e2d2db64339e94390e9ac1d4ddf2a3d43a2d5932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 23 Jun 2022 04:42:19 +0200 Subject: [PATCH] glib/tests/autoptr: Release the acquired locks on GRecMutex --- glib/tests/autoptr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glib/tests/autoptr.c b/glib/tests/autoptr.c index 1b2dd7b09..dedbe5cc9 100644 --- a/glib/tests/autoptr.c +++ b/glib/tests/autoptr.c @@ -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; }