Skip to content

Commit

Permalink
vblank: fix a memory leak in the sgi_video_sync_thread function
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelynothelix committed Jul 5, 2024
1 parent 05c764c commit 2dc2188
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vblank.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2dc2188

Please sign in to comment.