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);