From b5fcf501d66dac2875d800e336746aef4f71d21b Mon Sep 17 00:00:00 2001 From: Maxim Solovyov Date: Fri, 5 Jul 2024 20:43:09 +0300 Subject: [PATCH] vblank: fix a memory leak in the sgi_video_sync_thread function --- src/vblank.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vblank.c b/src/vblank.c index b7281360ee..78cb3bf547 100644 --- a/src/vblank.c +++ b/src/vblank.c @@ -229,6 +229,7 @@ static void *sgi_video_sync_thread(void *data) { pthread_mutex_unlock(&args->start_mtx); cleanup: + log_deinit_tls(); if (dpy) { glXMakeCurrent(dpy, None, NULL); if (ctx) {