vblank: fix a memory leak in the sgi_video_sync_thread function

This commit is contained in:
Maxim Solovyov 2024-07-05 20:43:09 +03:00
parent 05c764c605
commit 2dc218849d
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ start_failed:
pthread_mutex_unlock(&args->start_mtx);
cleanup:
log_deinit_tls();
if (dpy) {
glXMakeCurrent(dpy, None, NULL);
if (ctx) {