aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/main.c b/sway/main.c
index 8f11ecb9..51b12d20 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -224,9 +224,7 @@ int main(int argc, char **argv) {
wlc_run();
}
- if (input_devices) {
- free(input_devices);
- }
+ list_free(input_devices);
ipc_terminate();