aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/main.c1
1 files changed, 1 insertions, 0 deletions
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;
}