diff --git a/src/session.c b/src/session.c index a37bbc52..417255bb 100644 --- a/src/session.c +++ b/src/session.c @@ -371,6 +371,7 @@ static pid_t execCommand(WScreen *scr, char *command) wtokensplit(command, &argv, &argc); if (!argc) { + wfree(argv); return 0; }