aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_gamma_control_v1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/types/wlr_gamma_control_v1.c b/types/wlr_gamma_control_v1.c
index 3780bda8..fbf117f8 100644
--- a/types/wlr_gamma_control_v1.c
+++ b/types/wlr_gamma_control_v1.c
@@ -101,7 +101,6 @@ static void gamma_control_handle_set_gamma(struct wl_client *client,
goto error_table;
}
close(fd);
- fd = -1;
free(gamma_control->table);
gamma_control->table = table;