Fix a use-after-free error in switch binding

This commit is contained in:
Di Ma 2020-03-22 15:29:19 -07:00 committed by Brian Ashworth
parent a3e574f63f
commit c1c2fe04bb
1 changed files with 0 additions and 1 deletions

View File

@ -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) {