From c1c2fe04bbdab8380db62cd3b481356abea2facd Mon Sep 17 00:00:00 2001 From: Di Ma Date: Sun, 22 Mar 2020 15:29:19 -0700 Subject: Fix a use-after-free error in switch binding --- sway/input/switch.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sway/input/switch.c b/sway/input/switch.c index 8347f066..3bbc636d 100644 --- a/sway/input/switch.c +++ b/sway/input/switch.c @@ -4,7 +4,6 @@ #include "sway/input/switch.h" #include #include "log.h" -#include struct sway_switch *sway_switch_create(struct sway_seat *seat, struct sway_seat_device *device) { -- cgit v1.2.3-54-g00ecf