From 48f4715d1cfe3c1dc39533ff5d2441399b769ae9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Jul 2016 14:34:56 +0200 Subject: bug fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/state.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index a7fd57f..0a0a369 100644 --- a/src/state.c +++ b/src/state.c @@ -155,11 +155,7 @@ void state_destroy(void) if (outputs != NULL) for (i = 0; i < outputs_n; i++) - { - if (crtcs == NULL) - libgamma_crtc_destroy(outputs[i].crtc + i); - output_destroy(outputs + i); - } + output_destroy(outputs + i); free(outputs); if (crtcs != NULL) for (i = 0; i < outputs_n; i++) -- cgit v1.2.3-70-g09d2