From f981b58b435cd708fd14eb4f46dee7178a895739 Mon Sep 17 00:00:00 2001 From: Palana Date: Sat, 16 May 2015 22:10:15 +0200 Subject: [PATCH] Revert "libobs: Check effect mutex exists before destroying it" This reverts commit c2c47b1169b272498bdd6ffb1416f6d518200059. --- libobs/graphics/graphics.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libobs/graphics/graphics.c b/libobs/graphics/graphics.c index 9f965670d..9d8c63e09 100644 --- a/libobs/graphics/graphics.c +++ b/libobs/graphics/graphics.c @@ -213,8 +213,7 @@ void gs_destroy(graphics_t *graphics) } pthread_mutex_destroy(&graphics->mutex); - if (graphics->effect_mutex) - pthread_mutex_destroy(&graphics->effect_mutex); + pthread_mutex_destroy(&graphics->effect_mutex); da_free(graphics->matrix_stack); da_free(graphics->viewport_stack); da_free(graphics->blend_state_stack);