commit c1c2fe04bbdab8380db62cd3b481356abea2facd
parent a3e574f63ffdf34b1bc21620be3d065cee1ea54b
Author: Di Ma <focus64@gmail.com>
Date: Sun, 22 Mar 2020 15:29:19 -0700
Fix a use-after-free error in switch binding
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/sway/input/switch.c b/sway/input/switch.c
@@ -4,7 +4,6 @@
#include "sway/input/switch.h"
#include <wlr/types/wlr_idle.h>
#include "log.h"
-#include <string.h>
struct sway_switch *sway_switch_create(struct sway_seat *seat,
struct sway_seat_device *device) {