diff --git a/sway/main.c b/sway/main.c index b118a182..5a65e50c 100644 --- a/sway/main.c +++ b/sway/main.c @@ -347,6 +347,7 @@ int main(int argc, char **argv) { } char *command = join_args(argv + optind, argc - optind); run_as_ipc_client(command, socket_path); + free(command); return 0; }